I am trying to track down a problem in an ASP.NET v3.5 application where it HttpSessionexpires before it (by default) 20 minutes. We observe behavior when a session is lost for only a few minutes in a session, at random and for no apparent reason, such as unhandled exceptions. As far as I can tell, the ASP.NET workflow does not die, otherwise this would explain the dropped session.
What approach should be used for monitoring when a session is canceled? Is there any event that I can listen to, or some other hook in the namespace System.Web?
Also, can anyone confirm that the countdown to the expiration date is reset via web activity? That is, the session lifetime gets reset (default) 20 minutes each time the web client does an HTTP GET or POST?
source
share