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
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
source to share