Laravel - Auth Session not expiring after browser close

南笙酒味 提交于 2019-11-29 13:43:02

It is a desired behavior to be logged in after you re-open the browser. You can change this in app/config/session.php by setting

'expire_on_close' => true,

I have solved my own question. It appeared that the problem is Chrome's problem. It continues to work in background, so the cookie values do not disappear. I tried my app with firefox and works perfectly.

For more info: https://code.google.com/p/chromium/issues/detail?id=128513

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