All Development Environments

Any component that requires direct access to Session Manager can obtain a reference to Session Manager by creating a session manager object. Because Session Manager is a single instance, in-process ActiveX server, each component in the process receives a reference to the same session manager object. After you use Session Manager to obtain a session or perform a query, you can release the session and then recreate it later when you need it again.

The base name of the Session Manager server is SessionMgr. For ActiveX environments in which you cannot browse for a registered server, you can import the type information you need to access the Session Manager server from NISessionServer.dll.