Support the ongoing development of →
posted 10 months ago
Last updated 7 months ago.
moderator Solution

Laravel doesn't use the native session handler from PHP.

The most clean way is to write a custom session driver see:
And / or search on packagist for a good package that does that for you:

Another fast but less maintainable option is to add session_start() to your Laravel application and use the $_SESSION global variable directly.

Solution selected by @driesvints

Thanks for your tip 👍


Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

Veritexx veritexx Joined 19 Jan 2020


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 - All rights reserved.