Level 61
Have you tried doing php artisan config:clear or php artisan config:cache?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi guys, I was wondering how could we set ttl for the Laravel session cookie? I see that it is not affected by the config
'lifetime' => 120,
The laravel_session cookie ttl is set to -1 by default somehow and I do not know from where I could change this value?
Please assist.
Please or to participate in this conversation.