Hi friends
What are major events in GLOBAL.ASAX file? What order they are triggered?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted Feb 26, 2012, 11:26 PM
below are main event and order of globel.asax
- Application_BeginRequest
- Application_AuthenticateRequest
- Application_AuthorizeRequest
- Application_ResolveRequestCache
- Application_AcquireRequestState
- Application_PreRequestHandlerExecute
- Application_PreSendRequestHeaders
- Application_PreSendRequestContent
- <
- Application_PostRequestHandlerExecute
- Application_ReleaseRequestState
- Application_UpdateRequestCache
- Application_EndRequest
A common use of some of these events is security. The following C# example demonstrates various Global.asax events with the Application_Authenticate event used to facilitate forms-based authentication via a cookie. In addition, the Application_Start event populates an application variable, while Session_Start populates a session variable. The Application_Error event displays a simple message stating an error has occurred.>hope this help.
Satyapriya NayakPosted Feb 26, 2012, 12:36 AM
Please refer Our recommended articles
http://www.c-sharpcorner.com/uploadfile/aa04e6/major-events-in-global-asax-file/default.aspx
Thanks