边缘会话.cookie_lifetime [英] Edge session.cookie_lifetime
问题描述
我的网站功能在Edge上损坏(特别是登录),并被告知它与session.cookie_lifetime
有关.对于此事的任何帮助,我将不胜感激.请注意,我不是开发人员,也不具备任何代码知识.
My website functionality is broken on Edge (Especially login) and I was told it has something to do with the session.cookie_lifetime
. I would appreciate any help regarding the matter. Please note, I'm not a developer and I do not have any code knowledge.
我的一些php.ini文件,如果有帮助的话:
Some of my php.ini file, if it helps:
session.use_cookies = 1
session.cookie_lifetime = 1440
session.gc_maxlifetime = 1440
session.cookie_path = 1
session.save_path = "/tmp"
session.auto_start = 1
推荐答案
session.cookie_lifetime 此值(默认为0,表示直到浏览器下次重启)定义了会话cookie的生存时间(以秒为单位).此值间接定义会话的绝对"最大生存期,无论用户是否处于活动状态.如果将此值设置为60,则每个会话在一小时后结束.
session.cookie_lifetime This value (default 0, which means until the browser's next restart) defines how long (in seconds) a session cookie will live. This value indirectly defines the "absolute" maximum lifetime of a session, whether the user is active or not. If this value is set to 60, every session ends after an hour.
这篇关于边缘会话.cookie_lifetime的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!