Level 88
If you are using Laravel 5.2, did you place your routes in the web middleware group? This middleware group will start the session and enable cookies.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
None of the default sessions are being set in my Laravel application, whether it be the session cookie, or the CSRF token. Has anyone had an issue similar to this before, or know how to fix this?
If you are using Laravel 5.2, did you place your routes in the web middleware group? This middleware group will start the session and enable cookies.
Please or to participate in this conversation.