Nsdb

From AOLserver Wiki
Revision as of 15:08, 3 April 2005 by WikiSysop (talk | contribs) (imported from WiKit id 178)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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