Cookies are mad and behaving badly!
| From: | Mattias Johansson | Date: | Sat, 30 Dec 2000 22:00:31 +0000 |
| Subject: | Cookies are mad and behaving badly! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-32453@lists.php.net to get a copy of this message | ||
Dear Guru's.
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!
/Mattias