What is the use of Global.asa
The use of Globalasa
Global.asa serves as important configuration information for running ASP in a virtual directory within IIS. For example code for accessing SQL Server might be kept in the following files as
Sub Session_OnStart
Session("ConnectionString") =
"DSN=SQLSysDSN;UID=sa;PWD=;DATABASE=pubs;APP=ASP script"
Session("ConnectionTimeout") = 15
Session("CommandTimeout") = 30
End Sub
No comments:
Post a Comment