use the foll:
manner

$this->Session->setFlash('User profile has been updated.');
$this->redirect('/users/home');    //    controller name/action
name................




On Tue, Jul 14, 2009 at 3:19 PM, Raph <[email protected]> wrote:

>
> Hello!
>
> I have weird (I think) problem. In one of my actions I have the code:
>
> $this->Sesssion->setFlash(__('Bill was sent by e-mail successfully',
> true));
> $this->redirect(array('controller' => 'somecotroller');
>
> and nothing happend. Redirection dosen't work, there's only blank
> screen.
>
> When I remove "setFlash" everything is ok. Whtat's wrong with
> "setFlash"?
>
> --
> Raph
>
> >
>


-- 
-- 
(¨`•.•´¨) I may be busy,
`•.¸(¨`•.•´¨)  but I assure you,
(¨`•.•´¨)¸.•´ you are always in my heart
`•.¸.•´


With Lots of Love.....

THANKS AND REGARDS

Jeffery Jacob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to