Support the ongoing development of Laravel.io →
Session Validation
Last updated 2 years ago.
0

This may help.! After displaying the error, Remove the item from the session

Session::forget('key');

Add this after displaying error where 'key' is the item.

Last updated 2 years ago.
0

Hi Sikandhar,

Thank you very much for your reply. I believe Session::forget('key'); will work as well, but I am inclined to figure out why Session::flash('key') doesn't get flushed after the following request.

Last updated 2 years ago.
0

By the way, I am using Laravel 4.0.9, the session drive is native.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

liamqma liamqma Joined 9 Apr 2014

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.

© 2024 Laravel.io - All rights reserved.