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

Here's one thing. Anytime you work with sessions make sure you're not echoing things before putting things into the session. Any output before the session header will invalidate it. I would set some variables and return a proper view if you want to debug.

Last updated 2 years ago.
0

I've since moved all the output to the .blade.php views.

The issue remains.

In fact, if I stick dd(Auth::check()) into a view, the view stops rendering where that call appears. There is no error in the apache logs nor in the laravel.log

Last updated 2 years ago.
0

For the moment, I've fixed this by setting the domain value in config/sessions.php to null. I'm at a loss as to why the value doesn't function with their of the valid hostnames.

Last updated 2 years ago.
0

Did you ever find out what was wrong?

0

Sign in to participate in this thread!

Eventy

Your banner here too?

gwinans gwinans Joined 2 Oct 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.