Monday, November 11, 2013

Session_End event does not fire in OutProc session mode

Session_End is Fired when a user's session times out.
When Webserver did not get any response for 20 min by default then Session_end automatically fires.

Another important thing to write this topic here is that, Session_end only fires incase of Inproc session mode, not for Outproc session mode.

We can use Session.Abandon to force this.


Remember the Session_End event will not fire in case the user closes the browser. HTTP is a stateless protocol. There is no way for the server to understand that the browser has been closed.

Happy Coding !!!!!!!!!!!!!!!

No comments:

Post a Comment