---
title: "HTTP handler Vs HTTP module"  
description: "HTTP handler Vs HTTP module"  
author: "Anonymous User"  
published: 2018-07-06  
updated: 2018-07-07  
canonical: https://www.mindstick.com/forum/34589/http-handler-vs-http-module  
category: "data security"  
tags: ["security", "network"]  
reading_time: 1 minute  

---

# HTTP handler Vs HTTP module

What are the [difference between HTTP](https://www.mindstick.com/forum/34492/difference-between-http-redirect-codes) [Handler](https://www.mindstick.com/forum/33532/handler-pagehandlerfactory-integrated-has-a-bad-module-managedpipelinehandler-in-its-module-list) and HTTP [Module](https://www.mindstick.com/blog/11796/prestashop-one-page-checkout-module-make-checkout-faster)?

## Replies

### Reply by Prakash nidhi Verma

[HTTP handler](https://www.mindstick.com/interview/2083/what-are-http-handlers-in-asp-dot-net) Vs HTTP module :

Http Handlers:

Http handlers are developed by asp.net developers. It a component which is to implement System.Web.IHttpHandler interface. Handlers is act like ISAPI dlls the only Handlers can be called directly URL while ISAPI Dlls are not.

Process Request: a processing when asp.net requests in a method.

IsReusable: another request fulfill the same type of instance in HTTP Handler.

uses for custom HTTP handlers:

- To create an RSS feed for a Web site.

- When users send a request to your site that ASP.NET calls your handler to process the request.

- Image server

Http Modules:

Http modules are objects which also participate in the asp.net request pipeline but it does job after and before HTTP Handlers complete its work. it will associate a session and cache with asp.net request. It implements System.Web.IHttpModule interface.

uses for HTTP modules:

- Security

- Statistics and logging

- Custom headers

![HTTP handler Vs HTTP module](https://www.mindstick.com/mindstickforums/21ecfffa-5b41-4f19-9b00-d773e3dbaa67/images/091a70b0-8ab5-4ccc-8558-82a529f3b0f5.jpg)\


---

Original Source: https://www.mindstick.com/forum/34589/http-handler-vs-http-module

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
