Laravel - Auth Session not expiring after browser close Laravel - Auth Session not expiring after browser close laravel laravel

Laravel - Auth Session not expiring after browser close


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