The Application_OnStart event occurs before the first new session is created, that is, before the Session_OnStart event. Only the Application and Server built-in objects are available. Referencing the Session, Request, or Response objects in the Application_OnStart event script causes an error.
<SCRIPT LANGUAGE=ScriptLanguage RUNAT=Server>
Sub
Application_OnStart
. . .
End Sub
</SCRIPT>
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 (VBScript) or JScript™. If more than one event uses the same scripting language, they can be combined under a single set of <SCRIPT> tags.
Application_OnEnd, Session_OnStart
© Microsoft Corporation. All rights reserved.
file: /Techref/language/asp/obj/global_2.htm, 1KB, , updated: 2002/11/18 11:14, local time: 2024/12/30 13:23,
3.145.152.168:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/Techref/language/asp/obj/global_2.htm"> Application_OnStart</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.