What is HTTPModule and HTTPcontext?

What is the use of each?



What is HTTPModule and HTTPcontext? What is the use of each?..

Answer / Ajit Kumar Singh

HTTPModule: It's an ASP.NET module that allows developers to hook into the HTTP pipeline to perform tasks like authentication, logging, or caching before or after the request is processed.nnHTTPContext: It represents the current HTTP request and response, including headers, cookies, and application-specific data.nnUse of HTTPModule:n1. Customize the HTTP pipeline by implementing custom modules to perform tasks based on specific conditions.n2. Simplify common programming tasks such as authentication or caching.nnUse of HTTPContext:n1. Access request and response data like headers, cookies, query strings.n2. Manipulate the current application state in the HTTP pipeline.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

How do I upload a file from my ASP.NET page?

1 Answers  


How do I debug an ASP.NET application that wasn't written with Visual Studio.NET and that doesn't use code-behind?

1 Answers  


What is machine.config and web.config ?

5 Answers   Digital GlobalSoft,


How does the regular expression validator work? What are two situations when you might want to use one?

2 Answers  


what r the Templeats in ASP.net?

5 Answers   Intel, VBV,


Do you know about caching with the datasource controls?

1 Answers  


what is difference between .net 3.0 and 3.5

3 Answers  


Webconfig file is cofiguration of server or browser?

10 Answers   Wipro,


What is Difference between Callbacks and Postback in ASP.NET?

1 Answers   Patni,


Is asp.net and .net same?

1 Answers  


Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc

1 Answers  


What are the various session state management options provided by asp.net?

1 Answers  


Categories