Async HttpModule doesn't fire always..some requests skip httpModule

Answered Async HttpModule doesn't fire always..some requests skip httpModule

  • Tuesday, January 31, 2012 12:29 PM
     
     
    I 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