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

Sometimes this could happen if you do not set the session config file properly and you have many laravel projects running on the same machine.

Try setting up your Session Cookie Domain under config/session.php

'domain' => '.yoursite.com',  //keep the dot
0

Try switching driver to database in config/session.php

'driver' => env('SESSION_DRIVER', 'database'),
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Nicolas B nicogo Joined 24 Jun 2017

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.