Quantcast
Channel: Multiple session cookies created for the same Laravel app - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by lesssugar for Multiple session cookies created for the same Laravel...

To anyone having a similar problem: we solved it actually easily after we realized we could specify the session cookie name ourselves, per (sub)domain. So, we adjusted the config/session.php cookie...

View Article



Multiple session cookies created for the same Laravel app

I have a Laravel 5.2 app laying on a domain like this: https://www.example.com. The laravel_session cookie is configured to use the dot notation (to include subdomains): config/session.php: 'cookie'...

View Article

Answer by Victor H Torquete for Multiple session cookies created for the same...

We regenerated the session after login and the problem was solved.session()->regenerate();

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images