G
Guest
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_Start (only once)
Global.asax Application_Init (initialize for app here – can be called
multiple times)
BeginRequest
AuthenticateRequest
PostAuthenticateRequest
AuthorizeRequest
PostAuthorizeRequest
ResolveRequestCache
PostResolveRequestCache
After the PostResolveRequestCache event and before the PostMapRequestHandler
event, an event handler (a page corresponding to the request URL) is created.
PostMapRequestHandler
AcquireRequestState
Global.asax Session_OnStart (if needed)
PostAcquireRequestState
PreRequestHandlerExecute
The event handler is executed.
PostRequestHandlerExecute
ReleaseRequestState
PostReleaseRequestState
After the PostReleaseRequestState event, response filters, if any, filter
the output.
UpdateRequestCache
PostUpdateRequestCache
EndRequest (always called)
Global.asax Session_OnEnd (on timeout – always after all of the above)
Global.asax Application_Dispose (called once for each Application_Init)
Global.asax Application_End (only once)
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
correct order for these events to be called?
Global.asax Application_Start (only once)
Global.asax Application_Init (initialize for app here – can be called
multiple times)
BeginRequest
AuthenticateRequest
PostAuthenticateRequest
AuthorizeRequest
PostAuthorizeRequest
ResolveRequestCache
PostResolveRequestCache
After the PostResolveRequestCache event and before the PostMapRequestHandler
event, an event handler (a page corresponding to the request URL) is created.
PostMapRequestHandler
AcquireRequestState
Global.asax Session_OnStart (if needed)
PostAcquireRequestState
PreRequestHandlerExecute
The event handler is executed.
PostRequestHandlerExecute
ReleaseRequestState
PostReleaseRequestState
After the PostReleaseRequestState event, response filters, if any, filter
the output.
UpdateRequestCache
PostUpdateRequestCache
EndRequest (always called)
Global.asax Session_OnEnd (on timeout – always after all of the above)
Global.asax Application_Dispose (called once for each Application_Init)
Global.asax Application_End (only once)
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm