locked
the difference between httpmodule and httphandle RRS feed

  • Question

  • User1926312563 posted
    Hi,

     Who can tell me the difference between httpmodule and httphandle.I find ,functionly ,they are same,what's the difference?
    Saturday, October 8, 2005 5:15 AM

All replies

  • User-94950375 posted
    Functionally they are very similar.  There is one big difference however, an HttpHandler contains a single ProcessRequest event and an HttpModule intercepts all application requests and can see all of the HttpApplication events(AuthenticateRequest, BeginRequest, EndRequest, etc).


    Saturday, October 8, 2005 6:05 AM
  • User-662210369 posted

    is it possible to to use these events in an http Handler? like beginRequest etc without using the HTTPApplication object?

    the reason why i dont use the http module is because i want to filter some extension like *.jpg. I cant achieve this in HTTP module (or can i?)

    Sunday, October 23, 2005 10:41 AM