What event handlers can I include in Global.asax ?



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

Post New Answer

More ASP.NET Interview Questions

write six HTTP request method?

4 Answers   IBM,


What are the namespace classes used in asp.net mvc? : asp.net mvc

0 Answers  


what are configuration files?

0 Answers  


What is the Global.asax used for?

7 Answers   Siebel Systems,


Which dll handles the request of .aspx page?

0 Answers  






What are the different validators in asp.net?

0 Answers  


What is preprocessor in .net?

0 Answers  


How can we inherit a static variable?

0 Answers  


Write the different features of a Thread and a Process?

0 Answers   Siebel,


Which validator control you use if you need to make sure the values in two different controls matched?

0 Answers  


What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?

0 Answers  


Where the cookie value is stored?

0 Answers  


Categories