Support the ongoing development of Laravel.io →
Session

Hello! After the user login on the admin panel I redirect him to the dashboard, but on that page the session is always null. There is no echo after the auth::attempt(), just a redirect, but I tried to remove this redirect, and the var_dump returns true. But when I change the page it becomes null again. I'm using the database driver, can anyone help with this bizarre error?

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.

© 2025 Laravel.io - All rights reserved.