Support the ongoing development of Laravel.io →
Configuration Requests Session
Last updated 2 years ago.
0

I found the solution to this was 2 parts, not sure why it varied since it was the same OS and setup.

Step 1 make sure that COOKIE_DOMAIN is set properly and with no port numbers (Either in .env or /config/sessions.php, whichever you use)

Step 2 make sure that the cookie name ( 'cookie' => 'whatever') inside of /config/sessions.php does NOT have an underscore in it. Laravel apparently has had issues with this.

0

Is the underscore in the session a legit bug? We're using an underscore in our current 5.3 application. We're planning to migrate later this year to 5.5 because of the LTS.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

zocheyado zocheyado Joined 15 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.