Wow, I've been using CakePHP for years and never even knew about flash; 
I've always just used setFlash. Thanks for the information!

On Thursday, November 14, 2013 7:16:58 AM UTC-7, euromark wrote:
>
> That is an old behavior invoked by flash() directly, which most of use 
> never ever use :)
>
> https://github.com/cakephp/cakephp/blob/master/lib/Cake/Controller/Controller.php#L1000
>
> So I would just ignore that and use flash messages via setFlash()
> Mark
>
>
> Am Donnerstag, 14. November 2013 06:47:19 UTC+1 schrieb Nick Rogers:
>>
>> Have a look at lines 33 and 34 of 
>> core.php<https://github.com/cakephp/cakephp/blob/2.4.2/app/Config/core.php#L33>.
>>  
>> Is that referring to flash messages set by $this->Session->setFlash(); in 
>> the controller and then echo $this->Session->flash(); in the view? I 
>> have never witnessed the behavior described on line 33: "In production 
>> mode, flash messages redirect after a time interval.". How is that 
>> automatic redirect supposed to happen?
>>
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to