[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] JavaScript question

On Fri, Apr 26, 2013 at 9:59 AM, Geoffrey Myers
<lists at serioustechnology.com> wrote:
> On Apr 26, 2013, at 9:51 AM, James Sumners <james.sumners at gmail.com> wrote:
>> A lot of information that would help us help you....
>> Are the cookies well formed? Are you sure none of them are terminating
>> the cookie parser early (i.e. have a colon in the value when they
>> shouldn't)?
> I'm literally displaying what is being compared before the comparison, so I would expect that I would see an extraneous colon. Also, by the time I get to the for loops, I've stuck the cookies in an array as well, so I'm comparing arrays.

That's my bad. I was thinking about reading cookies from the header --

A little bit of code showing how you are getting the respective values
to compare would be helpful.

>> You might try my cookie object and see if it works for you --
>> http://jrfom.com/2010/12/10/javascript-cookie-manager-object/
> Thanks, I'll take a look at it.

James Sumners

"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."

Missionaria Protectiva, Text QIV (decto)
CH:D 59