关闭浏览器时清除会话 [英] clear the session while browser is closed

查看:243
本文介绍了关闭浏览器时清除会话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


有谁能告诉我关闭浏览器后如何清除会话,我正在使用sharepoint.

Hi,
can any one tell me how to clear the session when i close the browser, I am using sharepoint.

推荐答案

当用户关闭浏览器时,会话不会关闭" t实际上会过期20分钟,这取决于您的设置.
我把解决方案的链接放在这里了...
http://www.programmersheaven.com/mb/ASPNET/303808/303808/ending-session-when-user-close-window-/ [
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-/[^]


希望这可能对您有帮助
http://weblogs.asp.net/kodali/archive/2010/04/29/asp-net-session-on-browser-close.aspx [
Hope this might help you
http://weblogs.asp.net/kodali/archive/2010/04/29/asp-net-session-on-browser-close.aspx[^]


解决我的问题的解决方案如下:

< a href ="http://blogs.technet.com/b/speschka/archive/2010/08/09/setting-the-login-token-expiration-correct-for-sharepoint-2010-saml-claims- users.aspx"> http://blogs.technet.com/b/speschka/archive/2010/08/09/setting-the-login-token-expiration-correct-for-sharepoint-2010-saml-claims- users.aspx</a>
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>


这篇关于关闭浏览器时清除会话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆