Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
953 B

  1. <SCRIPT LANGUAGE="VBScript" RUNAT="Server">
  2. 'You can add special event handlers in this file that will get run automatically
  3. 'when special Active Server Pages events occur. To create these handlers, just create
  4. 'a subroutine with a name from the list below that corresponds to the event you want
  5. 'to use. For example, to create an event handler for Session_OnStart, you would put
  6. 'the following code into this file (without the comments):
  7. Sub Session_OnStart
  8. Session ( "qname" ) = "aspq"
  9. Session ( "mname" ) = Request.ServerVariables("SERVER_NAME")
  10. End Sub
  11. 'EventName Description
  12. 'Session_OnStart Runs the first time a user runs any page in your application
  13. 'Session_OnEnd Runs when a user's session times out or quits your application
  14. 'Application_OnStart Runs once when the first page of your application is run for the first time by any user
  15. 'Application_OnEnd Runs once when the web server shuts down
  16. </SCRIPT>