MS IIS7 - how to ensure that my module send last message

Posted on 2011-05-04
Last Modified: 2012-05-11
I have a MyModule implemented in IIS7.

Inside of this module I am checking html content.

For some reason I may want override message and send block message.

How can I send this and ensure that after my module no another filter or another module called?
Question by:longjumps
    1 Comment
    LVL 37

    Accepted Solution

    httpModules are generally executed in the same order that they appear on web.config, but it is not guaranteed that a specific notification routine in your module will be executed in that strict order - this is because any module in the list (including official IIS modules) may affect the order during it's execution.

    here is a possibly useful discussion at the official site:


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
    Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
    In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now