[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: php hex code for cookie authentication to controller?

On Tue, Oct 21, 2008 at 04:29:08PM -0700, Wesley Kenzie wrote:
> >>What's the actual length of $auth_value?  If it's not
> >>AUTHENTICATION_COOKIE_LEN (32, I think), that's when I'd expect that
> >>error.
> Thanks, Nick.  The length of $auth_value is 32 though, and the length of
> bin2hex($auth_value) is 64.

D'oh!  I didn't read the code closely enough: Try omitting the quotes.
They're only for sending a literal value.