SharePoint 2013中Windows身份验证的会话超时 [英] Session time out for Windows Authentication in SharePoint 2013
问题描述
大家好,
我有一个需要使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:
More information:
Best Regards,
Dennis
这篇关于SharePoint 2013中Windows身份验证的会话超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!