Re: Cookies are mad and behaving badly!

From: Date: Thu, 04 Jan 2001 21:19:04 +0000
Subject: Re: Cookies are mad and behaving badly!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-32733@lists.php.net to get a copy of this message
> I have a big problem. Actually, it's very small - but greatly annoying, and > highly critical to my site. I beg you for help, since I have been trying to > get this darned thing working for a straight week, and cant really figure > out what is wrong. Please take a look at this script: > http://www.smartsmartsmart.com/downloads20.php3?Category=1 (The > category > parameter must be there, for demo purposes) > Source code is attached. > > Voting for one of the files goes fine, however, when one tries to vote for > the second file, the two other cookies (files) get reset. I have been > pulling a lot of hair out on this one, and I'm desperate for help. The text > in the file desription windows is what I've used for debugging - don't let > it confuse you - the important thing is "votecookieXX equals X" That is what > the respective cookie is set to. I amt that this is a great bit of help to > ask for, but this list is my last hope. Please, please pretty please help! I looked at it briefly, but after 10 cookies from all over the place, and a popup window, I pretty much left, since that's what I do popup window sites... And I dunno which cookies you are concerned about. But here's how you can fix it: Go into your browser preferences, and turn on the setting that says something like "warn me before accepting cookie". Then clear out all your cookies and quit the browser and start it again. Visit the page, and watch what cookies you get when. There are some that you send several times per page. Don't do that. For any single site, you should only need to send me one (1) cookie to uniquely identify me. After that one (1) id is sent, you know who I am and can track anything else you need server-side.

« previous php.general (#32733) next »