关闭浏览器时清除会话

关闭浏览器时清除会话

问题描述:


有谁能告诉我关闭浏览器后如何清除会话,我正在使用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>