HTTPModule 事件执行顺序? [英] HTTPModule Event Execution Order?
问题描述
有谁知道某个站点或页面,或者知道 HTTPModule 事件执行的 HTTPApplication 类的事件的执行顺序吗?
我找到了 MSDN 文档事件,但它没有显示流程步骤列表,我也找不到.
也许这有帮助
http://support.microsoft.com/kb/307985/en-us/
<块引用>HttpApplication 类提供了许多模块可以与之同步的事件.以下事件可用于模块同步每个请求.这些事件按顺序列出:
- 开始请求
- 验证请求
- 授权请求
- 解析请求缓存
- 获取请求状态
- PreRequestHandlerExecute
- PostRequestHandlerExecute
- 发布请求状态
- 更新请求缓存
- 结束请求
<块引用>
以下事件可用于模块同步每个请求传输.这些事件的顺序是不确定的.
- 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屋!