I should write it in my first post -> I'm using cake in version 1.2.5 On Nov 14, 10:18 am, David Roda <davidcr...@gmail.com> wrote: > Are you using the stable 1.2.5 version of the core or the 1.3 alpha? > > If you are using git to get the core you can make sure you are using 1.2 by > executing the following commands in the core directory > > git branch --track 1.2 origin/1.2 > git checkout 1.2 > > On Sat, Nov 14, 2009 at 3:50 AM, Quess <miroslaw.niepo...@gmail.com> wrote: > > Nope, at least i didnt found any information about Suhosin in my > > hosting company. > > At the moment i'm coding/encoding cookies data myself. > > > On Nov 13, 9:20 pm, "Larry E. Masters aka PhpNut" <php...@gmail.com> > > wrote: > > > I am curious if you are using Suhosin php extension? > > > > -- > > > /** > > > * @author Larry E. Masters > > > * @var string $userName > > > * @param string $realName > > > * @returns string aka PhpNut > > > * @access public > > > */ > > > > On Fri, Nov 13, 2009 at 12:25 PM, Quess <miroslaw.niepo...@gmail.com> > > wrote: > > > > I have exactly the same problem. On developing server everything works > > > > like a charm but on production encrypted cookies return values quite > > > > different than has been written. > > > > Any help would be very appreciate. :) > > > > > Cheers, > > > > Quess > > > > > On Nov 2, 1:17 pm, tobi_one <tobias.h...@gmail.com> wrote: > > > > > Hi, > > > > > > I played around with this a little more. It turned out that the > > > > > problem is tied to the standard encryption of the cookie. > > > > > If I turn encryption off, it works. I didn't notice that in the first > > > > > place, because the old cookies were not deleted... > > > > > > I encrypt the values now myself, as a work-around, but still > > > > > interested in finding out what causes this problem in the first > > place! > > > > > > Cheers, > > > > > tobi_one > > > > > > On 2 Nov., 08:59, tobi_one <tobias.h...@gmail.com> wrote: > > > > > > > Hi John, > > > > > > > thanks for your response! > > > > > > > I tried just a single key and it does not work either. I tried > > various > > > > > > cookie settings, but none of them seem to have an influence on this > > > > > > issue. The current cookie settings I'm using is just > > > > > > > $this->Cookie->name = 'somename'; > > > > > > $this->Cookie->time = '2 weeks'; // or '1 hour' > > > > > > > Maybe something on the serverside that could lead to this strange > > > > > > behaviour? > > > > > > > Cheers,tobi_one > > > > > > > On 30 Okt., 21:18, John Andersen <j.andersen...@gmail.com> wrote: > > > > > > > > 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<tobias.h...@gmail.com> 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- Hide quoted text - > > > > > > - Show quoted text - > > > > > -- > > > > > You received this message because you are subscribed to the Google > > Groups > > > > "CakePHP" group. > > > > To post to this group, send email to cake-...@googlegroups.com. > > > > To unsubscribe from this group, send email to > > > > cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com> > > <cake-php%2bunsubscr...@googlegroups.com<cake-php%252bunsubscr...@googlegroups.com> > > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/cake-php?hl=. > > > -- > > > You received this message because you are subscribed to the Google Groups > > "CakePHP" group. > > To post to this group, send email to cake-...@googlegroups.com. > > To unsubscribe from this group, send email to > > cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/cake-php?hl=.
-- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-...@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cake-php?hl=.