You would think this list exists but I can’t find it anywhere. Is this the
correct order for these events to be called?
Global.asax Application_Sta rt (only once)
Global.asax Application_Ini t (initialize for app here – can be called
multiple times)
BeginRequest
AuthenticateReq uest
PostAuthenticat eRequest
AuthorizeReques t
PostAuthorizeRe quest
ResolveRequestC ache
PostResolveRequ estCache
After the PostResolveRequ estCache event and before the PostMapRequestH andler
event, an event handler (a page corresponding to the request URL) is created.
PostMapRequestH andler
AcquireRequestS tate
Global.asax Session_OnStart (if needed)
PostAcquireRequ estState
PreRequestHandl erExecute
The event handler is executed.
PostRequestHand lerExecute
ReleaseRequestS tate
PostReleaseRequ estState
After the PostReleaseRequ estState event, response filters, if any, filter
the output.
UpdateRequestCa che
PostUpdateReque stCache
EndRequest (always called)
Global.asax Session_OnEnd (on timeout – always after all of the above)
Global.asax Application_Dis pose (called once for each Application_Ini t)
Global.asax Application_End (only once)
--
thanks - dave
david_at_windwa rd_dot_net
Cubicle Wars - http://www.windwardreports.com/film.htm
correct order for these events to be called?
Global.asax Application_Sta rt (only once)
Global.asax Application_Ini t (initialize for app here – can be called
multiple times)
BeginRequest
AuthenticateReq uest
PostAuthenticat eRequest
AuthorizeReques t
PostAuthorizeRe quest
ResolveRequestC ache
PostResolveRequ estCache
After the PostResolveRequ estCache event and before the PostMapRequestH andler
event, an event handler (a page corresponding to the request URL) is created.
PostMapRequestH andler
AcquireRequestS tate
Global.asax Session_OnStart (if needed)
PostAcquireRequ estState
PreRequestHandl erExecute
The event handler is executed.
PostRequestHand lerExecute
ReleaseRequestS tate
PostReleaseRequ estState
After the PostReleaseRequ estState event, response filters, if any, filter
the output.
UpdateRequestCa che
PostUpdateReque stCache
EndRequest (always called)
Global.asax Session_OnEnd (on timeout – always after all of the above)
Global.asax Application_Dis pose (called once for each Application_Ini t)
Global.asax Application_End (only once)
--
thanks - dave
david_at_windwa rd_dot_net
Cubicle Wars - http://www.windwardreports.com/film.htm
Comment