首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >EzPublish AcitivityTimeOut设置

EzPublish AcitivityTimeOut设置
EN

Stack Overflow用户
提问于 2015-07-21 05:17:41
回答 1查看 55关注 0票数 1

好样的伙计们,

我想知道是否可以将ActivityTimeOut设置设置为30天?

我试着把它放30天..。2592000秒=30天。

然而,在几个小时的不活动之后,EzPublish注销了我的帐户。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-08-07 13:39:33

根据eZ发布文档:

代码语言:javascript
复制
# Number of seconds before a session is considered inactive/logged out, 1 hour is standard
ActivityTimeout=3600

在使用此设置的内核代码中,它似乎对真正断开用户没有任何影响,它只是将看作是非活动的(例如,通过fetchLoggedInList函数),这是在管理接口的Admin > session部分中使用的(如果您使用的是eZ发布的最后4.x版本中的默认行为)。

你试过检查这些参数了吗?

代码语言:javascript
复制
[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=

如您所见,默认情况下,PHP服务器配置都是cookies控制器,因此您也应该在这里查看一下。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/31530898

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档