The reason it works in the first controller is because it is not
reading from the cookie itself - it also saves the data to a local
variable and it is reading back from that.  Because there is no
automatic serialization going on, only strings are written to the
cookie - so a complex data type will never work in your second
controller (or after refreshing the page, or whatever so that it does
actually read the cookie).

I can't think of any reason that it would not work without encryption
though...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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