Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

scitools's avatar

How to fix TokenMismatchException after deploying

Hello,

I'm running into TokenMismatchException after a new deploy to my live server. I know it is because someone is currently on a form with a valid token however if I deploy in the middle of their form usage then they submit to the new version I get TokenMismatchException is there a way to combat this? It seems to clear itself out after the session/page refreshes.

I am running Laravel 4.2

0 likes
0 replies

Please or to participate in this conversation.