Application object

The entry point into the eRoom Server Access API for applications that run on the eRoom server. This object replaces the now obsolete Server Manager object.

If you are developing in a Microsoft .NET language, use the NetApplication object instead of Application object. (Both objects implement the IERUApplication interface.)

 

Co-Createable Object

progid

ERUApplication

eRoom.Application

Usage

The Application object can be created by CoCreateInstance in C/C++ and by CreateObject in Visual Basic. (set app=Server.CreateObject("eRoom.Application")

To access any other eRoom Server Access API object, you must first create an Application object.  You must use the LoginUser method to establish a user context.

The Application object is a stateless object. Holding a reference to this object will keep eRoom storage from being unloaded without keeping any open database connections. This is the only SAAPI object that should ever be stored on an ASP session or ASP application object. Keeping a reference to the Application object will keep storage from being unloaded between requests; this is not required for custom commands, viewers, or other eRoom extension types. This would only be required in a standalone ASP application when the eRoom server itself isn't currently running in the same process.

Home

Implements

IERUApplication