My Laravel 5.6 project was working well.
But suddenly when I try to login sometimes it says
The page has expired due to inactivity.
and sometimes it login properly with out any error. For example
I go to page 127.0.0.1:8000/login...submit login form and get that error.
I refresh the 127.0.0.1:8000/login page...submit...again error.
I refresh the 127.0.0.1:8000/login page...submit and it works properly :|
Anybody know whats wrong with my project?!
this project works on my host without any problem and I have {{ csrf_field }}
in my form.
I've tried to clear cache, view, route, config and deleting browser cache/cookie and change SESSION_DRIVER=array but still got error.
UPDATE : another thing that i should say is when it work properly and i login to the panel...when i submit any forms i got out of the panel and i should login again.