3 years ago

does laravel remove expired sessions automatically?

Posted 3 years ago by nikocraft

I thought that Laravel would delete expired session files, so to test it I set session lifetime to 1 minute. After 1 minute passes I refresh the page and laravel creates new session, however old session is not removed. Is this normal behaviour? If its not normal behavior why is it not removing old session files?

Please sign in or create an account to participate in this conversation.