Hi There, I was having the same problem and ive been doing some digging throught the API.
It seems that $this->Session->flash() is deprecated and you should use $session->flash() in your views instead. Hope this helps you! On Apr 26, 12:34 am, NewToCakePHP <[EMAIL PROTECTED]> wrote: > Hi everyone. As you can see by my handles name I am new to cakePHP so > please bear with me. OK I seem to be having problems with the > $this->Session->setFlash. I basically am following what was recommended in > > this link ->http://bakery.cakephp.org/articles/view/flashing-with-cakephp > but > its not working. Instead it outputs "Array" which seems to be coming > from the statement $this->controller->Session->flash(). > > The relevantcontrollerportion > of the code is > if ($this->User->save($this->data)) > { > $this->Session->setFlash('Your post has been saved.'); > $this->redirect('/users/temp'); > exit(); > } > $this->Session->setFlash('An Error has occured'); > $this->redirect('/users/add'); > exit(); > > I also have javascript enabled of course and am using a very recent > version of firefox. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---