Laravel 5.2 frequently logging out

China☆狼群 提交于 2019-11-29 16:58:42

set your config settings of timeout from 120 to 2400. this is in minutes.

in config/session.php 'lifetime' => 120 // This is in minutes

You can find session configuration in config/session.php file.

Change lifetime parameter value. You may specify the number of minutes that you wish the session to be allowed to remain idle before it expires.

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