I am new to Laravel 5.1, so I don't know how to log out a authenticated user after few minutes of inactivity. I read many sources about session.php that tells that 'lifetime' is responsible for the same. I set the values as:-
'lifetime' => 1, 'expire_on_close' => true,
but still my session is not getting expired and logging out after a minute. Even when i close the tab its not logging out. Please i need help in this. Is there a table to store session or what is the solution for this?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire