jeudi 2 février 2017

Laravel 5 - stay logged in forever

I wanted to put in the login page a checkbox "stay logged in".

That should never end the session of the user unless the user logs out.

I know that in app/config/session.php I have these variables:

'lifetime' => 60,

'expire_on_close' => false,

But I wanted to maintain alive the session forever, and not be removed if the user close his navigator.

Any ideas on how should I proceed? Thanks



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2k5eQqk
via IFTTT

Aucun commentaire:

Enregistrer un commentaire