RE: [PHP] Problem with posting
| From: | Rick Emery | Date: | Wed, 20 Mar 2002 19:40:11 +0000 |
| Subject: | RE: [PHP] Problem with posting | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-89377@lists.php.net to get a copy of this message | ||
What do you mean "All other browsers either do not submit form data"?
show your code.
What kind of user authentication are you using? If none, they'll vote and
vote often.
-----Original Message-----
From: James Arthur [mailto:james@teamonkey.plus.com]
Sent: Wednesday, March 20, 2002 1:39 PM
To: php-general@lists.php.net
Subject: [PHP] Problem with posting
I'm writing a voting script, but I have a problem with it.
Voters cast their vote by submitting a form. When this form is received it
is
added to the database, and a session variable is set saying that they've
voted. The problem is that once someone's voted they can just press reload
on
their browser and it sends another vote. This happens in Netscape 4.x. All
other browsers either do not submit form data or recognise that the session
variable is set.
Any ideas on how to fix this? Thanks.
--jaa
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php