JK_Bean has asked for the wisdom of the Perl Monks concerning the following question:
I have tried wriing the cookie from the server side perl code and I have tried writing the cookie by javascrypt on the client's PC. Either way can yield the duplicate cookie problem. Even code written in javascrypt with "; path=/" at the end still can eventually yeild 2 cookies.
When I get the duplicate cookie the correct one (i.e. the most current write) is sometimes the 1st one, and sometimes the 2nd. So far I have never seen more than 2 with the same name. The problem can sometimes take several days before it shows itself. The site is currently keeping a record of all visitor's cookies for the site. When I look at this file I can see that 7 out of about 250 of the memebers that log in have this problem and the number having this problem increases now and then.
Does anyone know the mechanism that is causing duplicate cookies, and what to do to stop it? Thank you in advance for anyone that can offer a real solution.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: annoying duplicate cookies
by nardo (Friar) on Jun 24, 2001 at 21:57 UTC | |
|
Re: annoying duplicate cookies
by eejack (Hermit) on Jun 24, 2001 at 20:36 UTC | |
by cLive ;-) (Prior) on Jun 25, 2001 at 01:55 UTC | |
|
Re: annoying duplicate cookies
by JK_Bean (Novice) on Jun 24, 2001 at 21:45 UTC | |
by eejack (Hermit) on Jun 24, 2001 at 22:50 UTC | |
|
Re: annoying duplicate cookies
by JK_Bean (Novice) on Jun 25, 2001 at 03:11 UTC | |
|
Re: annoying duplicate cookies
by cLive ;-) (Prior) on Jun 25, 2001 at 01:53 UTC |