### Application_OnEnd

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

###### Syntax

<SCRIPT LANGUAGE=ScriptLanguage RUNAT=Server>
Sub Application_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 VBScript 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 Application_OnEnd script.

###### See Also

Application_OnStart, Session_OnEnd

© 1997-2001 Microsoft Corporation. All rights reserved.