Global.asa is required for all Web sites
The Global.asa file
The Global.asa file is an optional file that can contain declarations of objects, variables, and methods that can be accessed by every web page in an ASP application.
The following only can contain by the Global.asa file :
Note: Each application can only have one Global.asa file and the Global.asa file must be stored in the root directory of the ASP application.
A Global.asa file could look something like this:
<script language="vbscript" runat="server"> sub Application_OnStart 'some code end sub sub Application_OnEnd 'some code end sub sub Session_OnStart 'some code end sub sub Session_OnEnd 'some code end sub </script>
The first example creates an object of session scope named "MySlightBook" by using the ProgID parameter:
<object runat="server" scope="session" id="MySlightBook" progid="MSWC.AdRotator"> </object>
Which one of these events is a standard Global.asa event?
If a user has cookies enabled, a session variable is available to all pages in one application.
All users of the same application share ONE Application object.
All users of the same application share ONE Session object.
Which ASP property is used to identify a user?