Black Friday: the Laravel testing course is $149 instead of $249, through Dec 7. See the course →
logo

How do Laravel sessions work?

And why would dd() change behavior?

Joel Clermont
Joel Clermont
2025-08-01

From our daily Laravel tips email. Get the next one in your inbox.

Ever have one of those moments where you something super simple isn't working and you can't figure out why? We all do!

In today's video, I'll share a story where I helped a developer debug a session that wasn't saving as expected, and along the way, we'll get a better understanding of how Laravel sessions work.

Watch Now (5 min)

And after watching, don't forget to subscribe to our YouTube channel, so you don't miss future videos.

Here to help,

Joel

P.S. The next time you're stuck, remember I can help you get unstuck.

Want a tip like this in your inbox every weekday?

Each one takes less than 2 minutes to read. Join 4,000+ Laravel developers who already get them.

email
No spam. Only real-world advice.
Toss a coin in the jar if you found this helpful.