Support the ongoing development of →
posted 2 years ago
Last updated 1 year 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.

veritexx liked this reply

Solution selected by @driesvints

Thanks for your tip 👍


Sign in to participate in this thread!


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.

© 2024 - All rights reserved.