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.
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
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.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community