的HttpModule事件执行顺序? [英] HTTPModule Event Execution Order?
问题描述
有谁知道一个网站或网页,或执行知道的HttpApplication类的事件顺序的HttpModule事件执行?
我发现所有事件的 MSDN文档,但它不显示的处理步骤的名单,我一直没能找到一个。
也许这有助于
<一个href=\"http://support.microsoft.com/kb/307985/en-us/\">http://support.microsoft.com/kb/307985/en-us/
这是HttpApplication类提供了一些与该模块可以同步事件。以下事件可用于模块与每个请求同步。这些事件都按顺序列出:
块引用>
- 的BeginRequest
- 的AuthenticateRequest
- 的AuthorizeRequest
- ResolveRequestCache
- 的AcquireRequestState
- preRequestHandlerExecute
- PostRequestHandlerExecute
- ReleaseRequestState
- 的UpdateRequestCache
- EndRequest
以下事件可用于模块为每个请求传输同步。这些事件的顺序是不确定的。
块引用>
- preSendRequestHeaders
- preSendRequestContent
- 错误
请参阅文章全信息。
Does anyone know of a site or page, or know the order of execution for the events of the HTTPApplication class for HTTPModule event execution?
I found the MSDN Documentation for all of the events, but it doesn't show a list of process steps and I haven't been able to find one.
解决方案Maybe this helps
http://support.microsoft.com/kb/307985/en-us/
An HttpApplication class provides a number of events with which modules can synchronize. The following events are available for modules to synchronize with on each request. These events are listed in sequential order:
- BeginRequest
- AuthenticateRequest
- AuthorizeRequest
- ResolveRequestCache
- AcquireRequestState
- PreRequestHandlerExecute
- PostRequestHandlerExecute
- ReleaseRequestState
- UpdateRequestCache
- EndRequest
The following events are available for modules to synchronize with for each request transmission. The order of these events is non-deterministic.
- PreSendRequestHeaders
- PreSendRequestContent
- Error
See the article for full info.
这篇关于的HttpModule事件执行顺序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!