Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

Application_OnEnd Event

IIS 6.0

The Application_OnEnd event occurs when the application quits, after the Session_OnEnd event. Only the Application Object and Server Object built-in objects are available.

<SCRIPT LANGUAGE=ScriptLanguage RUNAT=Server>
Sub Application_OnEnd. . . End Sub
</SCRIPT>
ScriptLanguage

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

You cannot call the Server.MapPath method in the Application_OnEnd script. By default, Application_OnEnd runs as the Anonymous User, as defined for the application. In the event that there isn't an Anonymous user, or the Logon for the Anonymous user fails, the OnEnd function will not be called, and an event will be logged.

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.