So from my experience even in laravel 5.2 the following happens:
- in the browser a page with a (ajax) form is shown
- the user does something else (e.g. goes home)
- when the user returns some time later and the session is expired, he get's an error message that the vrsf token is invalid (VerifyCsrfToken.php)
- the user is confused
So far I did not find any build-in solutions for this problem. I am using http://ift.tt/1WJbzJb but it feels a bit strange that I have to use a 3rd party lib to solve this basic issue. Maybe I missed something?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/28RFCip
via IFTTT
Aucun commentaire:
Enregistrer un commentaire