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

Hi ,

I have upgraded my application to 4.2 from 4.0. I am facing problem of sessions. My scenario is

  1. In 4.0 App when I hit login page (/account/login) and delete session cookie and again hit login page a new session is generated so I don't face any token mismatch problem.

  2. But in 4.2 App when I hit login page (/account/login) and delete session cookie and again hit login page a new session is not generated so I face token mismatch problem.

How to solve this ? Please help

Thanks

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

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.