additional testing and new info:

the problem is that cookie value is being encrypted but when
we call cookie.read the decrypt function thinks the value is not
encrypted and is not decrypting the value

If I do a cookie.write with $encrypt = false it works but I really
don't
want release an app with unencrypted cookies

anyone seen this bug in cake?  anyone have a workaround?

On Jul 8, 11:16 am, yolandapadilla <[email protected]> wrote:
> I am having a problem with the cookie value not being returned
> properly.
>
> I am trying to move a functioning cake app to a new server. I am
> running version 1.2 of cake. I have gone through all the discussions I
> can find about installation, config issues and moving to a new server
> and cannot figure this out.
>
> The app works fine on the old server but on the new server I am having
> problems retrieving proper cookie values. I do a var_dump on the
> cookie after I set the value with a 3 char string. The value is
> fine.
>
> I then call redirect to move to a new page. After the redirect when I
> do a var_dump on the cookie, the value I set is still a 3 char string
> but the chars are non-ascii values.
>
> It looks to me like either the value failed to decrypt, or that the
> value failed to be loaded properly.
> The keys are fine and the string size is fine.
>
> Thanks for any insight

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

Reply via email to