Nsdb

From AOLserver Wiki
Jump to navigation Jump to search

With AOLserver version 4 the database API was split out into a standalone module, nsdb, which can also be loaded into a standard Tcl shell using the 'load' command.

nsdb implements the ns_db Tcl API and NsDb_* C API.


nsdb should be loaded per server (if you're hosting multiple virtual servers?) in the ns/server/${servername}/modules section and not globally. Currently (as for AOLserver-4.0.10) loading nsdb globally will lead to a SIGSEGV (at least on Solaris).


Category Documentation - Modules