Problems? Is your data what you think it is? | |
PerlMonks |
Re: Seeking help to avoid duplicate cookiesby jreades (Friar) |
on Jun 21, 2001 at 00:36 UTC ( [id://90180]=note: print w/replies, xml ) | Need Help?? |
I hate to be an unhelpful jerk, but what you're describing is unlikely at best, and most probably impossible. Try this JS code:
No matter how many times you click setCookie there's only that one cookie there. By definition cookies have to have unique names, AFAIK. It sounds like your code is doing something unexpected in terms of how it sets/reads cookies. Try posting some code and we can take a look... And on a final note, if you're setting the cookie via JavaScript and reading via Perl then the error could be quite simple:
Try it by changing "=" to "+=" in my code. HTH
In Section
Seekers of Perl Wisdom
|
|