Sunday, 27 December 2020

419 Session Expired

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

Machine Learning - Potato Leaf Disease Prediction

Step 1: import numpy as np import pandas as pd import splitfolders import matplotlib.pyplot as plt import tensorflow as tf from tensorflow i...