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

Ganesh_Shetty's avatar

TokenMismatchexception

hosted my Laravel project by copying project from my local machine. It works fine in local machine but in hosting site when post data it gives Token Mismatch-exception(VerifyCsrfToken). Please guys solution urgently needed

0 likes
4 replies
forgng's avatar
forgng
Best Answer
Level 14

Maybe the problem is with the storage/session folder. Where the sessions are stored by default. Try removing the file and then reloading.

2 likes
Ganesh_Shetty's avatar

Form Data showing like this _token:gQLYpnTSaXILKzQ7vpp8v0Uf4wfvEhHdswTh26gU email:mganesh.951@gmail.com password:123456

But no file is matching this token value in storage/framework/session

Please or to participate in this conversation.