Product Home Page | Developer Site | Version | |
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.
<SCRIPT LANGUAGE=ScriptLanguage RUNAT=Server>
Sub Application_OnStart
. . .
End Sub
</SCRIPT>
ScriptLanguage
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.
Runat
Must be Server
.
See also:
Copyright © 2003 Sun Microsystems, Inc. All rights reserved.