[symfony-users] Re: set/getFlash() issue : active during 2 requests

2009-07-21 Thread Adrien Mogenet
Hi, Thanks for this piece of information... but, I don't use forward() method :-( You can see my whole mailing action here : http://code.google.com/p/piwam/source/browse/trunk/apps/front/modules/association/actions/actions.class.php#116 -- Adrien http://www.ze-technology.com On 20 juil,

[symfony-users] Re: set/getFlash() issue : active during 2 requests

2009-07-20 Thread Richtermeister
Hey Adrien, you're using a forward() command after the mailing form, so the flash gets picked up in the current request and not unset until the next. If you use a redirect(), the flash will truly only be shown once. This is also best practice, since it avoids re-triggering the form by hitting