A
A
adam_carraway2018-12-21 02:26:13
Laravel
adam_carraway, 2018-12-21 02:26:13

How to solve the problem with laravel sessions after moving the site to hosting?

I transferred the project to the hosting, I try to log in, it gives an error 419
Sorry, your session has expired. Please refresh and try again.
how to solve?
I noticed that the file in the /storage/framework/sessions folder is created every time the page is refreshed.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kuznetsov, 2018-12-21
@dima9595

Have you given permissions to the folders? https://laravel.com/docs/5.7
The absence of a CSRF token in the form can also cause this error.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question