Answer the question
In order to leave comments, you need to log in
Sessions are not saved in laravel, what should I do?
Transferred the project from the local machine to the hosting and as a result the sessions are not saved.
For any post request, it gives an error 419 Sorry, your session has expired. Please refresh and try again.
I've scoured the internet and tried everything I can. The rights to the bootstrap/cache and storage folders are 777.
After each page refresh, a new session is created and, accordingly, a new file is created in storage/framework/session
How to deal with this?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question