[英]php joomla session lifetime settings
I have searched through the google and also joomla forums but didn't got what exactly I was looking for. 我已经搜索了Google和joomla论坛,但没有得到我想要的东西。
My question is: 我的问题是:
What if I set the session lifetime value to "0" (Zero), will the session be active for ever? 如果将会话生存期值设置为“ 0”(零),该会话将永远处于活动状态怎么办? or the user will NOT be able to login completely?
否则用户将无法完全登录?
I don't know Joomla's session management functions in detail, but I assume they are based on ordinary cookies. 我不了解Joomla的会话管理功能的详细信息,但我认为它们基于普通的cookie。 With those, a value of
0
will lead to the cookie being deleted at the end of the session, so you may want to go with an impossibly large value. 使用这些值时,值为
0
将导致cookie在会话结束时被删除 ,因此您可能希望使用一个太大的值。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.