Hi,
I have a Laravel web application in Laravel version 5.7.4 hosted on Godaddy Shared hosting. Its working fine there.
But, I am facing issues while migrating the application to Godaddy VPS Server (Centos 7). After a successful application and database migration, the Static pages are working fine.
But, getting error 419 ("Sorry your session has expired. Please refresh and try again.") for all the POST requests, e.g Login form, admin login, etc. I have tried all options but no success.
The same application is working fine offline and on another server.
Can anyone please help me resolve this issue?
Regards, Tejinder
Can you save anything in your session? And / or do you see something in the logs? It can be that the session directory isn't writable ( storage/framework/sessions )
Yes. framework/session is writable. I am able to write to sessions folder. Nothing is seen in laravel logs.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community