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.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us