Can laravel csrf token refresh automatically?

the token of laravel will never change if the cookie is not cleared, so it won"t play a protective role? Is there any way to achieve timing change?

Feb.09,2022

you can set the expiration time of the Cookie to achieve the purpose of automatic refresh.

Menu