I've set 'lifetime' => 10
in my session config file, but it doesn't expire at all.
In laravel 3 with that setting, after logging in, when limit of 10 minutes is exceeded, the session expires properly and user is redirected to login again.
In laravel 4 it doesn't happen. After 10 minutes I can refresh, do anything and still session is valid.
I'm testing both on the same machine with analogical settings... What am I missing?
lifetime
is working with me. If your sessiondriver
is file, make sure that it has write access toapp/storage
folder. For quick test, you can try with'lifetime' => 1
instead of 10 minutes.