EzPublish 活动超时设置
EzPublish AcitivityTimeOut Setting
大家好,
我想知道是否可以将 ActivityTimeOut 设置设置为 30 天?
我实际上试过将它放在 30 天...2592000 秒 = 30 天..
然而,在几个小时不活动后,EzPublish 注销了我的帐户。
根据 eZ Publish 文档:
# Number of seconds before a session is considered inactive/logged out, 1 hour is standard
ActivityTimeout=3600
查看内核代码,使用此设置的地方,看起来它对真正断开用户连接没有任何影响,只是考虑一个用户作为inactive(例如通过 fetchLoggedInList
函数),用于管理界面的 Admin > Sessions 部分(如果您使用 sql 存储的会话,这不是上一个 4.x eZ Publish 版本)。
您是否尝试并检查了这些参数?
[Session]
# "Remember me" feature of the login.
# Number of seconds a session cookie will last,
# if an user wants to store current session to the cookie
# should click on "Remember me" checkbox on login page.
# Empty or 0 means this ability will be disabled and CookieTimeout will be used.
RememberMeTimeout=
# Number of seconds a session will last, 3 days is standard
SessionTimeout=259200
# Number of seconds a session cookie will last,
# 0 means until browser is closed
# Leaving the field empty means to use the default PHP settings (session.cookie_lifetime)
CookieTimeout=
如您所见,cookie 默认是您的 PHP 服务器配置的控制器,所以您也应该看看这里。
大家好,
我想知道是否可以将 ActivityTimeOut 设置设置为 30 天?
我实际上试过将它放在 30 天...2592000 秒 = 30 天..
然而,在几个小时不活动后,EzPublish 注销了我的帐户。
根据 eZ Publish 文档:
# Number of seconds before a session is considered inactive/logged out, 1 hour is standard
ActivityTimeout=3600
查看内核代码,使用此设置的地方,看起来它对真正断开用户连接没有任何影响,只是考虑一个用户作为inactive(例如通过 fetchLoggedInList
函数),用于管理界面的 Admin > Sessions 部分(如果您使用 sql 存储的会话,这不是上一个 4.x eZ Publish 版本)。
您是否尝试并检查了这些参数?
[Session]
# "Remember me" feature of the login.
# Number of seconds a session cookie will last,
# if an user wants to store current session to the cookie
# should click on "Remember me" checkbox on login page.
# Empty or 0 means this ability will be disabled and CookieTimeout will be used.
RememberMeTimeout=
# Number of seconds a session will last, 3 days is standard
SessionTimeout=259200
# Number of seconds a session cookie will last,
# 0 means until browser is closed
# Leaving the field empty means to use the default PHP settings (session.cookie_lifetime)
CookieTimeout=
如您所见,cookie 默认是您的 PHP 服务器配置的控制器,所以您也应该看看这里。