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?


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


Sub Application_OnStart

    'Application logic to run on start

End Sub





You need to create a new global.asa file for your classic ASP application.



There is a global .asa for classic asp.



All Articles