How is the cookie settings? Have you tried with a simple test, using not Auth.User, but another key? Enjoy, John
On Oct 30, 6:32 pm, tobi_one <[email protected]> wrote: > Hi, > > I try to get cookies to work. I try to store data the usual way > > $cookie['username'] = $this->data['User']['username']; > $cookie['password'] = $this->data['User']['password']; > $this->Cookie->write('Auth.User',$cookie,true, '+2 weeks'); > > when I retrieve the cookie data with > > $cookie = $this->Cookie->read('Auth.User'); > debug($cookie); > > the data is always corrupted. > > Array > ( > [Auth] => Array > ( > [User] => > ) > > ) > > There is no difference whether I switch off encryption of the cookie > data, by setting the third value of Cookie->write to false. Any ideas, > what I am missing? > > Cheers, > tobi_one --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
