Re: Multiple http modules

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Yes, you can have many HttpModules, and in fact you probabaly already do. Check out <httpModules> in machine.config. As far as implementing one, look at the IHttpModule interface:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWebIHttpModuleClassTopic.asp

Here's a MSDN piece that George wrote. It shows some of the details:

http://msdn.microsoft.com/msdnmag/issues/02/05/asp/

-Brock
DevelopMentor
http://staff.develop.com/ballen



Can we have multiple http modules for a web application like one for
url
rewriting and the other for authentication ?
If possible, how can it be implemented ?
Any ideas are appreciated
Thanks
Ramesh



.