Session_OnEnd

The Session_OnEnd event occurs when a session is abandoned or times out. Of the server built-in objects, only the Application, Server, and Session objects are available.

Syntax

<SCRIPT LANGUAGE=ScriptLanguage RUNAT=Server>
Sub Session_OnEnd
. . .
End Sub

</SCRIPT>

Parameters

ScriptLanguage

Specifies the scripting language used to write the event script. It may be any supported scripting language, such as Microsoft® Visual Basic® Scripting Edition or JScript™. If more than one event uses the same scripting language, they can be combined under a single set of <SCRIPT> tags.

Remarks

You cannot call the MapPath method in the Session_OnEnd script.

See Also

Session_OnStart, Application_OnEnd


© Microsoft Corporation. All rights reserved.