home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1999 March
/
Chip_1999-03_cd.bin
/
nebylo
/
ASP
/
global.asa
< prev
next >
Wrap
Text File
|
1999-02-09
|
1KB
|
30 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
'**Put your code here **
'End Sub
'EventName Description
'Session_OnStart Runs the first time a user runs any page in your application
'Session_OnEnd Runs when a user's session times out or quits your application
'Application_OnStart Runs once when the first page of your application is run for the first time by any user
'Application_OnEnd Runs once when the web server shuts down
</SCRIPT>
<SCRIPT LANGUAGE=VBScript RUNAT=Server>
Sub Session_OnStart
'==Visual InterDev Generated - DataConnection startspan==
'--Project Data Connection
Session("firma_ConnectionString") = "DRIVER={SQL Server};SERVER=(local);UID=firma;PWD=asdfg;APP=Microsoft (R) Developer Studio;WSID=AMADEUS;DATABASE=firma"
Session("firma_ConnectionTimeout") = 15
Session("firma_CommandTimeout") = 30
Session("firma_RuntimeUserName") = "firma"
Session("firma_RuntimePassword") = "asdfg"
'==Visual InterDev Generated - DataConnection endspan==
End Sub
</SCRIPT>