Global.asax and classic ASP?
Now please excuse me if this is a stupid question - BUT ... In my ASP.NET applications, I have a global.asax file that catches an error and sends me details. "Could I put global.asax in the root of a classic ASP file, and if there was an ASP error, it would call global.asax?"
Sorry again if this is a stupid question. If not any ideas on how I could recreate something like this for classic ASP?
+2
leen3o
source
to share
3 answers
In classic ASP, you have a global.asa file to achieve similar functionality to what global.asax does in ASP.NET
for example
<SCRIPT LANGUAGE="VBScript" RUNAT="Server">
Sub Application_OnStart
'Application logic to run on start
End Sub
</SCRIPT>
+10
Russ Cam
source
to share
You need to create a new global.asa file for your classic ASP application.
+1
Canavar
source
to share
There is a global .asa for classic asp.
0
x2.
source
to share