Application Level Logic and event handling.
The events of the Global.asax file are:
The events of the Global.asax file are:
- Application_Start() : invoked when first application domain is created.
- Session_Start() : Invoked every time a session is start.
- Application_BeginRequest() : invoked when every request for the web.
- Application_AuthenticateRequest() : It checks to determine whether or not the user is valid.
- Application_Error() : Whenever an unhandled exception occurs then this event will be called.
- Session_End() : When a user session is ended and all the data related to a specific user is cleared then the Session_End() event is called.
- Application_End() : This method is called before the application ends. This can take place if IIS is restarted or the application domain is changing.
- Application_Disposed() : This event is called after the application will be shut down and the .NET GC is about to reclaim the memory it occupies. Although this is very late to perform any clean-up but we can use it for safety purposes.
No comments:
Post a Comment