Open Directory Site ASP Tutorials

ASP | XML | VBScript | JavaScript | ADO | CSS | XMLDOM | PHP | Operating Systems

Home >> ASP >> ASP Application Object

ASP Application Object

 

Application Object

The Application Object is used to share information among all users of a given application.

Syntax

Application.collection

Application.method

Collections

Collection Description

Contents Holds the items added to the application with script commands

StaticObjects Holds the objects added to the session with the <object> tag

Methods

Method Description

Contents.Remove Deletes an item from a collection

Contents.RemoveAll Deletes all items from a collection

Lock Prevents other users from changing the application object properties

Unlock Allows other users to change the application object properties

Events

Event Description

OnEnd What to do when all user sessions are over, and the Application quits.

This event will execute a script in the Global.asa file, if the script exist

OnStart What to do before the Application Object is first referenced. This event

will execute a script in the Global.asa file, if the script exist

Cheap Web Hosting Articles - Web Site Design & Web Hosting Tutorials - Domain Hosting