News:

Build a stunning handcrafted website with IT Acumens

Main Menu

Global.asa

Started by thiruvasagamani, Aug 27, 2008, 02:19 PM

Previous topic - Next topic

thiruvasagamani

Your application will be defined by a global.asa file. The global.asa file is usually placed in the virtual root directory. It will contain application,session events and <object> declarations.



A blank global.asa is given below with an explanation in comments of each event.


<script language="vbscript" runat="server">

Sub Application_OnStart

'event fires when the first user access the application

End Sub

Sub Application_OnEnd

'event fires when the last user's session is abandoned


End Sub


Sub Session_OnStart

'event fires when a new user accesses the application


End Sub


Sub Session_OnEnd

'event fires when a given user's session is abandoned

End Sub

</script>
Thiruvasakamani Karnan