ASP.net Session Destroy if he closes the browser -


i have website. when user logged session details loaded. when user logged out session details abandoned. (log out clicking logout menu) when user closes browser how destroy session.

in next time logging same session data. need avoid this.

as part of handling of logout, call session.clear() clear key/value pairs:

http://msdn.microsoft.com/en-us/library/system.web.sessionstate.httpsessionstate.clear.aspx


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

visual studio - Deleting lines of code in a text editor -

What's the encoding type of Android 2.2 push message? -