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.
We can use Session.Abandon to force this.
Another important thing to write this topic here is that, Session_end only fires incase of Inproc session mode, not for Outproc session mode.
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 !!!!!!!!!!!!!!!
When Webserver did not get any response for 20 min by default then Session_end automatically fires.
We can use Session.Abandon to force this.
Another important thing to write this topic here is that, Session_end only fires incase of Inproc session mode, not for Outproc session mode.
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