home *** CD-ROM | disk | FTP | other *** search
- <SCRIPT LANGUAGE="VBScript" RUNAT="Server">
-
- 'You can add special event handlers in this file that will get run automatically when special Active Server Pages events
- 'occur. To create these handlers, just create a subroutine with a name from the list below that corresponds to the event
- 'you want to use. For example, to create an event handler for Session_OnStart, you would put the following code into this
- 'file (without the comments):
- Sub Session_OnStart
-
- set session("oApp") = Server.CreateObject("crystal.crpe.application")
-
-
- set session("oEMF") = Server.CreateObject("cremfgen.cremfgen.1")
-
- session("init") = ""
- session("username") = "new"
- session("page") = ""
- session("accesslevel") = ""
- End Sub
-
- Sub Session_OnEnd
- set session("oApp") = nothing
- set session("oEMF") = nothing
- session("init") = ""
- session("username") = "old"
- session("page") = ""
- session("accesslevel") = ""
- End Sub
-
-
- </SCRIPT>
-