Hi, i solved.
The page that contains the second controller
didn't have the starting statement ob_start();
Inserting the statement it works correctly.
bye.

On 5 Mar, 17:18, whitewolf <[email protected]> wrote:
> I have some information into my session object after my login
> I set the session object information into the my user_controller.
> I want to redirect to another controller under particular condition.
>
> the behaviour:
>
> If i try to dump  $_session object before the redirect i'll see the
> information correctly,
> but if i try to dump the same information into the other controller
> where i redirect in the index action,
> i'll see only 'array()'.
>
> I set Session component for every controller but
> i'don't know why when i change the controller
> Session object information are lost.
>
> Can someone help me?
>
> Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
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