Anonymous
22 Feb, 2018

Session In Laravel Doesn't Get Expired Even After The Browser Is Closed. Is It A Bug?

1 Answer         3926 Views

Webtrickshome
22 Feb, 2018

Go to your session.php file inside the config directory.

In the session lifetime section, you can see the session's expire_on_close array with value set as false as shown below.

 
'expire_on_close' => false, 

Set it as true as shown below and you're done with it.

 
'expire_on_close' => true,    

10 Likes         0 Dislike         0 Comment        


Leave a comment