SharePoint 2013中Windows身份验证的会话超时 [英] Session time out for Windows Authentication in SharePoint 2013

查看:89
本文介绍了SharePoint 2013中Windows身份验证的会话超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个需要使SharePoint会话超时(安全验证)的要求.如果用户闲置了一段时间,如何通过Windows 2013中的Windows身份验证自动使会话超时?

截至目前,当我尝试注销并返回站点时,便能够访问该URL.它应该提示您登录.是否可以这样做?如果是这样,有人可以帮我解决这个问题吗?

问候,
Jaydeep.


解决方案

Jaydeep,

我们可以运行PowerShell命令"Enable-SPSessionStateService –DefaultProvision";来在SharePoint服务器场上启用asp.net会话状态服务.

https://technet.microsoft.com/en-us/library/ff607857.aspx

然后为您的Web应用程序打开Web.config文件(C:\ inetpub \ wwwroot \ wss \ VirtualDirectories \ 80).找到< pages enableSessionState ="false"并使其正确,然后找到< sessionState mode ="SQLServer" 并增加超时 默认情况下为20分钟.

这里有一个类似的线程供您参考:

https://slightlybehindthecurve.wordpress.com/2008/02/29/how-to-force-timeouts-in-a-sharepoint-intranet-site-when-using-windows-authentication/

最好的问候,

丹尼斯


Hi All,

I have a requirement where we need to timeout the SharePoint sessions (security validation). How to auto session time out with Windows authentication in SharePoint 2013 if a user is idle for some time? 

As of now, when i tried to signout and go back to site, i am able to access the url. It should prompt for login instead. Is it possible to do the same? If so, can anyone please help me with the soluion?

Regards,
Jaydeep.


解决方案

Hi Jaydeep,

We can run PowerShell command "Enable-SPSessionStateService –DefaultProvision" to enable asp.net session state service on a SharePoint farm.

https://technet.microsoft.com/en-us/library/ff607857.aspx

And then open web.config file for your web application(C:\inetpub\wwwroot\wss\VirtualDirectories\80). Find <pages enableSessionState="false" and make it true, then find <sessionState mode="SQLServer"  and increase timeout by default it will be 20 mins.

Here is a similar thread for your reference:

https://social.msdn.microsoft.com/Forums/office/en-US/df1e2181-1807-4f35-ad14-2f6724a7cfcb/session-time-out-with-windows-authentication-in-sharepoint-2013-?forum=sharepointdevelopment

More information:

https://slightlybehindthecurve.wordpress.com/2008/02/29/how-to-force-timeouts-in-a-sharepoint-intranet-site-when-using-windows-authentication/

Best Regards,

Dennis


这篇关于SharePoint 2013中Windows身份验证的会话超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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