Product Home Page | Developer Site | Version | |
The Session_OnStart event occurs when the server creates a new session. The server processes this script prior to executing the requested page. With the Session_OnStart event, when session-wide variables are set, those variables will be set before any pages are accessed. All of the built-in objects are available and can be referenced in the Session_OnStart event script.
<SCRIPT LANGUAGE=ScriptLanguage RUNAT=Server>
Sub Session_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.