V
V
v3shin2020-10-30 16:11:31
Yii
v3shin, 2020-10-30 16:11:31

When is csrf token updated in yii2?

Hello. There is a problem with the site: periodically users "catch" the 400 error:

[error][yii\web\HttpException:400] yii\web\BadRequestHttpException: Не удалось проверить переданные данные.

At the same time, in the error log, I see that the csrf token was passed fresh.
The error does not always happen and not for everyone.
Tell me, plz, in which direction to read?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question