Handling expired token in Laravel

后端 未结 13 2759
情话喂你
情话喂你 2020-11-29 00:30

What is the best way to handle expired tokens in laravel 5.

I mean I have a page and it has some links which perform ajax requests. They work fine when the page is

13条回答
  •  爱一瞬间的悲伤
    2020-11-29 01:28

    You may try Caffeine for Laravel package it set an interval then it refresh the token like suggested in some answers also it will be added automatically in every form having csrf token

提交回复
热议问题