home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 May
/
W2KPRK.iso
/
apps
/
crystal
/
disk24
/
Xasp15
< prev
next >
Wrap
Text File
|
1999-08-23
|
946b
|
31 lines
<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>