Support the ongoing development of Laravel.io →
Session Views Packages
Last updated 3 months ago.
0

Since flash is only available on the next request, the moment you have another request like redirect will loose the flash values. If you wanted to retain the flash message you can use Session::reflash(); http://laravel.com/docs/4.2/session#flash-data

0

Ah thanks for that :) Totally missed that point.

0

Sign in to participate in this thread!

Cloudways

Your banner here too?

LukasMa LukasMa lukasma Joined 26 Nov 2014

Moderators

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.