locked
HttpModule vs. Global.asax RRS feed

  • Question

  • User355672401 posted

    Whats the difference between calling an application event from a class that implements HttpModule and calling the same application event from the Global.asax? Thanks.

    Wednesday, June 3, 2009 4:33 PM

Answers

  • User1779468316 posted

    Global application events happen at the application level.
    IHttpModule events happen at the page level.

    An IHttpModule allows you to take conrol of what page loads on your site. Something that you can't do from Global application events.

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, June 3, 2009 6:30 PM