Async HttpModule doesn't fire always..some requests skip httpModule
-
Tuesday, January 31, 2012 12:29 PMI have an web app with an async httpModule for custom authentication. The httpModule intercept maybe the 2 o 3 firsts requests, but after it doesn't fire anymore at least for 2 or 3 more pages after that it start to works again for a new request of a new page,but after some minutes it fails again. I'm getting crazy about this issue 'cause I have registered the httpModule in the <httpModules> and <Modules> in web.Config and I don't know why it stops working in random cases... I've thought it is because some pages are cached and skip my async httpModules an goes to the handler.. or maybe the instance of my httpModule is lost in some specific moment, I'm using VS2010 with asp.net 2.0 IIS 6.0 . Please help me.
Thanks in advance
All Replies
-
Thursday, February 02, 2012 10:01 AMModerator
Hi,
For IIS 6.0, it should be "httpModules" section under system.web rather than "modules" section under system.webServer. Actually, for iis issues, it is suggested you posted in IIS forums. And for help of the code, it will be direct help with asp.net forums communities.
Thanks.
Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com. Microsoft One Code Framework- Marked As Answer by Lloyd ZhangMicrosoft Contingent Staff, Moderator Tuesday, February 07, 2012 6:16 AM

