Level 75
See this post https://laracasts.com/discuss/channels/laravel/custom-session-expire-time-for-individual-session-variable
But you could do it by using a login timestamp as well.
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi, is it possible to change the different sessions' expiry dates? For example session foo expires after 10 min & session bar expires after 20 min?
since session is started before you even know who they are, then I would say no.
Please or to participate in this conversation.