CakePHP Session Expires - Frequently

ぃ、小莉子 提交于 2019-12-13 02:51:50

问题


I am using CakePHP 1.3 and in core.php. I set the following settings

Configure::write('Security.level', 'low');

Configure::write('Session.timeout', '12');

But after logged in, its frequently logged out. I am not using auth component


回答1:


Session.timeout - Base session timeout in seconds. use

Configure::write('Session.timeout', 12 * 60 );


来源:https://stackoverflow.com/questions/6899383/cakephp-session-expires-frequently

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!