IIS7 ISAPI过滤器模块&HttpModule 事件 - 它们如何排列? [英] IIS7 ISAPI Filter Module & HttpModule Events - How do they line up?

查看:14
本文介绍了IIS7 ISAPI过滤器模块&HttpModule 事件 - 它们如何排列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,集成管道模式下的 IIS7 使用 IsapiFilterModule 填充 ISAPI 过滤器 DLL 并在过滤器上触发正确的事件",这与经典模式下的 IIS 或 IIS7 的早期版本完全不同,因为这意味着 HttpModules 会触发在集成管道模式下的 ISAPI 过滤器旁边.

So IIS7 in Integrated Pipeline mode uses a IsapiFilterModule to shim ISAPI filter DLL's and fire off the correct "events" on the filters, which is quite different than previous versions of IIS or IIS7 in classic mode because this means that HttpModules fire off right along side ISAPI filters in Integrated Pipeline mode.

那么有没有人碰巧知道 ISAPI 事件 (http://msdn.microsoft.com/en-us/library/ms524855.aspx)和 HttpModule 事件(http://msdn.microsoft.com/en-us/library/ms998536.aspx) 排队吗?

So does anyone happen to know how ISAPI events (http://msdn.microsoft.com/en-us/library/ms524855.aspx) and the HttpModule events (http://msdn.microsoft.com/en-us/library/ms998536.aspx) line up?

推荐答案

根据 MSDN,HttpModule 事件在其他过滤器之后触发:

HttpModule events are fired after other filters, according to the MSDN:

此时,IIS 开始处理请求的内容.这可以通过 ISAPI 扩展、CGI 应用程序、脚本引擎(如 ASP 或 PERL)或 IIS 本身来处理静态文件.

At this point, IIS begins processing the substance of the request. This can be done by an ISAPI extension, a CGI application, a script engine such as ASP or PERL, or by IIS itself for static files.

您可以查看这里这里

这篇关于IIS7 ISAPI过滤器模块&HttpModule 事件 - 它们如何排列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆