Session Management
-
I am using StateServer Session but I want to write a code on Session_End and as Session_End event is not fired for StateServer I am stuck with some problem. My problem is if user close the browser without logout then I want to make some operations and Session_End was one option but as I am using StateServer that option is of no use. Is there any other option ? Please help me out. Waiting for reply. :-( Ankush... :-)
-
I am using StateServer Session but I want to write a code on Session_End and as Session_End event is not fired for StateServer I am stuck with some problem. My problem is if user close the browser without logout then I want to make some operations and Session_End was one option but as I am using StateServer that option is of no use. Is there any other option ? Please help me out. Waiting for reply. :-( Ankush... :-)
I haven't really tried it, but something I would try if I were in your situation is call an Ajax function on the onunload event of the body. I'm not sure but may be this event is fired when the window is closed. You'd need to make some tests. daniero