Re: Problem with $this->Session->setFlash when using caching

2009-06-17 Thread Steve
thanks for the replies Marcel, sounds like sort of the same problem. strange thing is that the flash message does work when i do not specify a custom layout in setFlash... but then I can not have the nice effect of removing the flash message after few seconds. On Jun 17, 11:45 pm, Marcel wrote:

Re: Problem with $this->Session->setFlash when using caching

2009-06-17 Thread Marcel
Steve wrote: > Well, when I activate this line in core.php: > > Configure::write('Cache.disable', true); > > Everything works like expected.. > > But then you have no caching at all... See: https://trac.cakephp.org/ticket/6034 --~--~-~--~~~---~--~~ You receive

Re: Problem with $this->Session->setFlash when using caching

2009-06-17 Thread Steve
Well, when I activate this line in core.php: Configure::write('Cache.disable', true); Everything works like expected.. But then you have no caching at all... On Jun 17, 3:00 pm, Marcel wrote: > Looks like that this is also not working within nocache, like the > FormHelper... :( --~--~

Re: Problem with $this->Session->setFlash when using caching

2009-06-17 Thread Marcel
Looks like that this is also not working within nocache, like the FormHelper... :( --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To u

Problem with $this->Session->setFlash when using caching

2009-06-16 Thread Steve
Hello everybody, I have a problem with some cakephp (version 1.2.3.8166) code. It concerns using $this->Session->setFlash in a controller action. Part of the controller code: $this->Session->setFlash(__('Everything fine.', true), 'flashinfo'); $this->redirect(array('controller'=>'users','action'