Support the ongoing development of Laravel.io →
Session Views Packages
Last updated 2 years 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!

Eventy

Your banner here too?

LukasMa lukasma Joined 26 Nov 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.