Level 29
Did you clear the config after updating the SESSION_DRIVER?
php artisan config:clear
Hey Laracast community,
I'm currently using Laravel 10 with Sanctum for API authentication, and I'm curious about the session driver being used by Sanctum. In my application, I've switched the session driver from files to the database. but the sessions table is always empty !
session.php
return [
// ... other configuration options
'driver' => env('SESSION_DRIVER', 'database'),
// ... other configuration options
];
.env
SESSION_DRIVER=database
Please or to participate in this conversation.