Support the ongoing development of Laravel.io →
Security Session Validation

I made small sample form (method post) and when i try to submit it, i get TokenMismatch expection. However, sometimes it works and sometimes not, it's really random. My friend pulled same code from Bitbucket and it works perfectly for him. However, i'm having problem and i have no idea why. I use "php artisan serve" to run a server, it's on localhost:8000.

Any ideas how to fix this?

Last updated 3 years ago.
0

A while back someone else had trouble with this if I recall it had something to do with a redirect check the laravel bug section. Can't find the post on this.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

filip01 filip01 Joined 2 Jan 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.