I am using setting following flash msg from my user controller
$this->Session->setFlash($this->Session->read('Message.auth'));
In my view file i am using
$session->flash();
On 6/3/10, Jeremy Burns <[email protected]> wrote:
> Where are you setting the message with $session->setFlash();?
>
> Jeremy Burns
> [email protected]
>
>
> On 3 Jun 2010, at 09:23, Zahidur Rahman wrote:
>
>> Hi i am still getting Array as output
>>
>> On 6/3/10, Jeremy Burns <[email protected]> wrote:
>>> You din't need to do that. Just do $session->flash(); - if there is a
>>> message set, it will display, else it won't.
>>>
>>> Jeremy Burns
>>> [email protected]
>>>
>>>
>>> On 3 Jun 2010, at 07:40, Zahidur Rahman wrote:
>>>
>>>> Hi experts
>>>> I am facing a problem for showing flash message in my view file.
>>>> If any message is not found then in my view file i found array()
>>>> I am using the following code in my view file :
>>>>
>>>> if ($session->check('Message.flash')) {
>>>> $session->flash();
>>>> }
>>>>
>>>>
>>>> Output : array()
>>>> If no message set for this method
>>>>
>>>> Would you help pls
>>>> Thanks
>>>> Zahidur Rahman
>>>>
>>>> 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
>>>
>>
>> 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
>
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