如何在SharePoint中配置空闲会话超时? [英] How to configure idle session timeout in SharePoint?

查看:74
本文介绍了如何在SharePoint中配置空闲会话超时?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Team,


我需要在x非活动/创意时间后,在基于SharePoint 2013/2016 FBA的应用程序中注销用户。我尝试了以下解决方案,但没有一个解决问题。



  • 运行PowerShell脚本以修改LogonTokenCacheExpirationWindow,FormsTokenLifetime和UseSessionCookies。
  • 修改设置"安全验证过期"在管理中心。
  • 将js代码添加到主页面,该主页面使用setTimeOut()将用户重定向到注销页面(当我从页面打开新选项卡并开始处理新工作时,它不起作用选项卡,这样我的用户不会空闲,但仍然是父选项卡将它们重定向到
    注销页面)

任何人都可以帮我解决这个问题吗?


提前致谢。


问候。

解决方案

< span style ="color:#1F497D">您好


尝试根据您的要求更新FormsTokenLifeTime 和LogonTokenCacheExpirationWindow以获得适当的值。


这里是供您参考的主题。


https://blogs.msdn.microsoft.com/scicoria/2011/06/10/sharepoint-2010-fba-and-sliding-sessions/


最好的问候,



Hi Team,

I have a requirement to logout the user in SharePoint 2013/2016 FBA based application after x amount of inactive/idea time. I have tried below solutions but none of them solve the problem.

  • Run PowerShell script to modify the LogonTokenCacheExpirationWindow, FormsTokenLifetime and UseSessionCookies.
  • Modify the setting "Security validation expires" in Central Administration.
  • add js code to the master page that uses setTimeOut() to redirect the user to the logout page (It is not working when i open a new tab from the page and start working on new tab, that way my users are not idle but still parent tab is redirecting them to signout page)

Can anyone help me with the solution?

Thanks in advance.

Regards.

解决方案

Hi,

Try to update the FormsTokenLifeTime and LogonTokenCacheExpirationWindow for proper value per your requirement.

Here is the thread for your reference.

https://blogs.msdn.microsoft.com/scicoria/2011/06/10/sharepoint-2010-fba-and-sliding-sessions/

Best Regards,

Lee


这篇关于如何在SharePoint中配置空闲会话超时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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