ONE Active Server Pages Product Home Page Developer Site Version


ASP Application_OnStart Event

The Application_OnStart event occurs before the first session is created, before the Session_OnStart event occurs. Only the Server and Application built-in objects are available. Referencing the Session, Request, or Response object in the Application_OnStart event generates an error.

Syntax: ASP Application_OnStart Event
<SCRIPT LANGUAGE=ScriptLanguage RUNAT=Server> 
Sub Application_OnStart
. . . 
End Sub
Parameters: ASP Application_OnStart Event


Specifies the scripting language used to write the event script, either Sun ONE ASP VBScript or Sun ONE ASP JavaScript. If more than one event uses the same scripting language, the events can be enclosed within a single set of <SCRIPT> tags.


Must be Server.

See also:

Scripting Languages Reference