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?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1QTIbz9
via IFTTT
Aucun commentaire:
Enregistrer un commentaire