mercredi 1 février 2017

Laravel 5 Session Lifetime

According to Laravel config/session.php

/*
|--------------------------------------------------------------------------
| Session Lifetime
|--------------------------------------------------------------------------
|
| Here you may specify the number of minutes that you wish the session
| to be allowed to remain idle before it expires. If you want them
| to immediately expire on the browser closing, set that option.
|
*/

'lifetime' => 120,
'expire_on_close' => true,
'expired-session-redirect' => url(env('APP_URL'))

I have set the lifetime of my session to 120 minutes, but I have a feeling that my user is log-out way before 120 minutes.

Is that a typo ? Do they mean 120 seconds which is 2 mins ?

Can anyone please shed some lights on this ?



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

Aucun commentaire:

Enregistrer un commentaire