What event handlers can I include in Global.asax ?
Answer / kumar saurabh
Application_Start,Application_End, Application_AcquireRequestState, Application_AuthenticateRequest, Application_AuthorizeRequest, Application_BeginRequest, Application_Disposed, Application_EndRequest, Application_Error, Application_PostRequestHandlerExecute, Application_PreRequestHandlerExecute,
Application_PreSendRequestContent, Application_PreSendRequestHeaders, Application_ReleaseRequestState, Application_ResolveRequestCache, Application_UpdateRequestCache, Session_Start,Session_End
You can optionally include "On" in any of method names. For example, you can name a BeginRequest event handler.Application_BeginRequest or Application_OnBeginRequest.You can also include event handlers in Global.asax for events fired by custom HTTP modules.Note that not all of the event handlers make sense for Web Services (they're designed for ASP.NET applications in general, whereas .NET XML Web Services are specialized instances of an ASP.NET app). For example, the Application_AuthenticateRequest and Application_AuthorizeRequest events are designed to be used with ASP.NET Forms authentication.
Is This Answer Correct ? | 0 Yes | 0 No |
write six HTTP request method?
What are the namespace classes used in asp.net mvc? : asp.net mvc
what are configuration files?
What is the Global.asax used for?
Which dll handles the request of .aspx page?
What are the different validators in asp.net?
What is preprocessor in .net?
How can we inherit a static variable?
Write the different features of a Thread and a Process?
Which validator control you use if you need to make sure the values in two different controls matched?
What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?
Where the cookie value is stored?