locked
What is the difference between HTTPMODULES and HTTPHANDLERS?? RRS feed

  • Question

  • User1313960964 posted

    What is the difference between HTTPMODULES and HTTPHANDLERS??

     

    Regards,

    Satheesh

    Tuesday, August 1, 2006 8:23 AM

Answers

  • User2032526919 posted

    Hi,

    HTTP handlers are the end point objects in ASP.NET pipeline and an HTTP Handler essentially processes the request and produces the response. For example an ASP.NET Page is an HTTP Handler.

    HTTP Modules are objects which also participate the pipeline but they work before and after the HTTP Handler does its job, and produce additional services within the pipeline (for example associating session within a request before HTTP handler executes, and saving the session state after HTTP handler has done its job, is basically done by an HTTP module, SessionStateModule)

    See:

    Introduction to HTTP Handlers

    Introduction to HTTP Modules

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, August 1, 2006 12:39 PM