Laravel doesn't use the native session handler from PHP.
The most clean way is to write a custom session driver see: https://laravel.com/docs/8.x/session#adding-custom-session-drivers
And / or search on packagist for a good package that does that for you: https://packagist.org/?query=laravel%20session
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
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community