ASP » Objects » Application

Version: Modified in version 3.0

The Application object shares, stores, and retrieves information in response to requests from users to the application.

Methods

Contents.Remove

Syntax: Application.Contents.Remove (Name|Integer)

The Contents.Remove method is used to remove a single item from a Contents collection.

Contents.RemoveAll

Syntax: Application.Contents.RemoveAll

The Contents.RemoveAll method is used to remove all items from a Contents collection.

Lock

Syntax: Application.Lock

The Lock method prevents all other users from making changes in the Application object.

Unlock

Syntax: Application.Unlock

The Unlock method allows any user to have access to any of the Application object properties in order to make changes.

Events

OnEnd

The OnEnd event occurs when the Application quits. This should not occur unless all user sessions are over. The signal of this event will run a handler script in the Global.asa file, if the script exist.

OnStart

The OnStart event occurs before the start of any new session by a user (i.e., before the Application object is first referenced). The signal of this event will run a handler script in the Global.asa file, if the script exist.