Make sure you have declared both the Session Component and the Session Helper 
in your app_controller. setFlash only places the message into the session. To 
show it, use echo $this->Session->flash() in a view, element or layout.

Jeremy Burns
Class Outfit

[email protected]
http://www.classoutfit.com

On 18 Dec 2010, at 16:13, Ahmed - CakePHP wrote:

> 
> Hello,
> 
> I am very very very new on CakePHP.
> I tried to do a blog using the CakePHP. I did it :).
> but I found a problem:
> when I want to use "$this->Session->setFlash("Write whatever");"
> 
> it doesn't work.
> I don't see the sentences that I write inside setFlash. They doesn't
> occur when I run the code/functions.
> 
> I am using the local server "WAMP"
> 
> Can you please tell me what is the problem ?
> 
> 
> Regards,
> Ahmed
> 
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
> 
> 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

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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