
i am trying to submit a form with some fields and showing this error “The page has expired due to inactivity. Please refresh and try again.” so when I look my form very carefully then i found that one CSRF token verification is missing.
- you have to do one thing add @csrf or {{ csrf_field() }} in your form.
- and then run below command to clear your app cache
php artisan cache:clear
php artisan r:cache
php artisan view:clear
References :



- How To Set Up Apache Virtual Hosts on Ubuntu 20.04.2 LTS - October 28, 2021
- How to Fix ” Vue packages version mismatch:” error in Laravel 5.5 - April 15, 2021
- Laravel say that Auth guard [user] is not defined - April 15, 2021