How to keep alive an HttpModule (a.k.a register it as a singleton)

Posted by Micah on Stack Overflow See other posts from Stack Overflow or by Micah
Published on 2010-05-07T16:06:59Z Indexed on 2010/05/07 16:18 UTC
Read the original article Hit count: 271

Filed under:
|

I pretty sure I've seen this somewhere but I can't seem to find it anywhere. I have an HttpModule that can be used across multiple requests. In other words instead of creating a new instance of the Module on every request it only ever needs to create it once. Does this ring a bell to anyone? If so, what's the method for configuring to work this way?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about httpmodule