gpt4 book ai didi

asp.net - HTTPModule 事件执行顺序?

转载 作者:行者123 更新时间:2023-12-02 08:25:25 26 4
gpt4 key购买 nike

有人知道某个站点或页面,或者知道 HTTPModule 事件执行的 HTTPApplication 类的事件的执行顺序吗?

我找到了MSDN Documentation对于所有事件,但它没有显示流程步骤列表,而且我还没有找到。

最佳答案

也许这有帮助

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:

  1. 开始请求
  2. 验证请求
  3. 授权请求
  4. 解析请求缓存
  5. 获取请求状态
  6. PreRequestHandler执行
  7. PostRequestHandler执行
  8. 释放请求状态
  9. 更新请求缓存
  10. 结束请求

The following events are available for modules to synchronize with for each request transmission. The order of these events is non-deterministic.

  • PreSendRequestHeaders
  • PreSendRequestContent
  • 错误

请参阅文章了解完整信息。

关于asp.net - HTTPModule 事件执行顺序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/441421/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com