How to remove 419 Session Expired error.
Step 1. In .env file SESSION_DRIVER=file. Replace file with database.
Example: SESSION_DRIVER=database.
Step 2. In the config/session.php
'driver' => env('SESSION_DRIVER', 'file'), Replace file with database
Example: 'driver' => env('SESSION_DRIVER', 'database'),
Step 3. Create a database name session.
php artisan session:table
php artisan migrate.
No comments:
Post a Comment