HttpModule Timeout RRS feed

  • Question

  • User889839622 posted

    Hi everyone. I'm developing a HttpModule to do custom user validation I would like to know if the HttpModule has a life time after it's Initialization because I use some class members (in the httpmodule) in order to store some data that I use in the next requests of my Web Service. Does anyone know how it's the lifecycle of the HttpModule ? when doees it expire? if it does, and the initialization is executed again?


    Thanks to anyone that could help me.

    Wednesday, October 11, 2006 3:39 PM

All replies

  • User-1469150719 posted

    I'm not sure, but you could do some tests and find out...

    set a breakpoint in the constructor and see how many times it's called

    You could also use Trace debugging and simulate 500 requests and see how many get a new object...

    Wednesday, October 11, 2006 5:39 PM