Click here to Skip to main content
15,906,708 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
can any one tell me how to clear the session when i close the browser, I am using sharepoint.
Posted

When a user closes the browser, the session doesn't literally expire for a default time of 20 minutes its depend on your setting.
Here I put the link of the solution please have it...
http://www.programmersheaven.com/mb/ASPNET/303808/303808/ending-session-when-user-close-window-/[^]
 
Share this answer
 
v2
Comments
kaushal16 24-Jun-11 2:56am    
I don't know why this code down voted.....this code work properly....
Tech Code Freak 16-Aug-11 23:37pm    
My 5!
Good Link!
Bookmarked!
 
Share this answer
 
v4
Comments
Uday P.Singh 16-Aug-11 6:52am    
please use anchor tag to your links!!
The link for the solution which solve my issue is below:

<a href="http://blogs.technet.com/b/speschka/archive/2010/08/09/setting-the-login-token-expiration-correctly-for-sharepoint-2010-saml-claims-users.aspx">http://blogs.technet.com/b/speschka/archive/2010/08/09/setting-the-login-token-expiration-correctly-for-sharepoint-2010-saml-claims-users.aspx</a>
 
Share this answer
 
v5
Comments
Uday P.Singh 16-Aug-11 6:52am    
please use anchor tag to your links!!
Hope this[^] might help you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900