[ale] JavaScript question

James Sumners james.sumners at gmail.com
Fri Apr 26 09:51:54 EDT 2013


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)?

You might try my cookie object and see if it works for you --
http://jrfom.com/2010/12/10/javascript-cookie-manager-object/

On Fri, Apr 26, 2013 at 9:31 AM, Geoffrey Myers
<lists at serioustechnology.com> wrote:
> I have a script that is reading cookie names and attempting to locate them in an array. First I tried indexOf() and it finds one, but none of the others. So I tried two for loops, one for the cookies and the other for the array. Again finds one. I even set it up to display the two values via alert() before the comparison test. I see this: 'comparing <linksFTP> to <linksFTP>'
>
> Clearly the same but the test fails. Anyone?  This is driving me nuts. I'm using the == operator, not the === operator. What am missing?
>
> --
> From my iPhone
> Geoffrey Myers
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo



-- 
James Sumners
http://james.roomfullofmirrors.com/

"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



More information about the Ale mailing list