Level 122
Incase you need to store something in the user's session. You might not know who they are yet, but you might need to track them from one page to the next
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Laravel always maintains session with the cookie, laravel_session on route belonging to web middleware regardless of login. I wonder why it does so although you don't login. What merit do you get by doing so??
Please or to participate in this conversation.