I am using Laravel 5.5. I am trying to change my session driver to memcached. When i change the session driver to memcached then, on submit any form it return the Page expired exception.
The reason for the exception is Laravel generates a new CSRF token each time when the page is refreshed but the cookie is not getting updated (maybe that is right problem is in the token).
I have tried to clear my sessions, views, cache, routes, config cache and browser cookies also.
When i revert the session driver back to file then it starts working because now the CSRF token remains same when the page is getting refreshed.
Is it a bug or i am doing anything wrong in this?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community