简体   繁体   English

php joomla会话生存期设置

[英]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 main purpose is to set the joomla session live for ever. 我的主要目的是永久设置joomla会话。
  • Many forums says its not good to keep a higher value (security issues) but I don't want to consider that right now. 许多论坛表示,保持较高的价值(安全性问题)不是很好,但我现在不想考虑这一点。

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM