Level 63
The lifetime is defined in the session configuration file and is by default 120 minutes long.
'lifetime' => env('SESSION_LIFETIME', 120),
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Is there a simple (or hard) way how to set the length of a logged in user session? In which file can I edit that?
The lifetime is defined in the session configuration file and is by default 120 minutes long.
'lifetime' => env('SESSION_LIFETIME', 120),
Please or to participate in this conversation.