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

What is server side in asp.net?

1 Answers  


What is application and session in asp.net?

1 Answers  


what are the components available in global.asax ?

1 Answers  


How to store a dataset in a viewstate?

3 Answers   IBM,


Project Architecture (3tier, n-tier)

1 Answers   Syntel,


Tell me what is the request flow used for asp.net mvc framework? : asp.net mvc

1 Answers  


Input:http://www.allinterview.com/forms/questionform.php Output:http://www.allinterview.com/forms/questionform Write c# program to get the above desired output for the given Input.....

3 Answers   Bally Technologies,


What is role-based security in asp.net?

1 Answers  


How do you store a value in viewstate and retrieve them?

1 Answers  


What?s a bubbled event?

1 Answers  


What do you mean by authorization?

1 Answers  


What is session start?

1 Answers  


Categories