Creates an object that has been installed on the server. Objects are identified by a Programmatic Identifier. (Returns the requested object.)
Set SomeObject = Server.CreateObject (ProgID)
The programmatic identifier of the requested object as a string.
Any object created by this method will be destroyed when the server is finished processing the page. If the object is stored in the Session object, however, it will only be destroyed when the session ends.
One of the most important uses of the CreateObject method is to create a SessionMgr object. In JavaScript, you would use the following code to create a SessionMgr object:
var SessionManager = Server.CreateObject("CrystalEnterprise.SessionMgr");
In VBScript, you would use the following code to create a SessionMgr object:
Set SessionManager = Server.CreateObject ("CrystalEnterprise.SessionMgr")
UNIX: Server.CreateObject can only be used to create Crystal Enterprise objects on the UNIX platform.
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |