What is global.asax file and how it is useful for an Asp.Net Application?
Global.asax
(2 posts) (2 voices)-
Posted 1 year ago #
-
It will tell the server what to do when the application first started or what to do when the application ended.
It has several events like Application_Start, Application_End and so on..,which are executed whenever application started and whenever application ended.The events of an global.asax file are
Application_Start: This will executed whenever application started.
Application_End: This will executed whenever application ended.
Application_Error: This will executed whenever application has some errors.
Session_Start: This will executed whenever new session started in application.
Session_End: This will executed whenever session ended.
Posted 1 year ago #
Reply
You must log in to post.