> My problem is that a user, having voted once, can keel clicking refresh in
> their browser and the form data keeps getting sent, incrementing the poll
> results each time
> Is there a way to kill form data once it;s been posted, or is there a
better
> way of doing what I am trying to accomplish?

The easiest way to stop most multiple votes is to send them a Cookie when
you get their vote.

If they have that Cookie, they can't vote again.

That won't stop a semi-serious cheater -- He'll just not accept the Cookie
or delete it after he gets it or...

If you need better than this minimal "honesty" factor, it gets tricky...
And *NOTHING* online (via HTTP, anyway) can be anywhere close to a reliable
voting method.  Even Florida had it better. :-)

By Day:                                |By Night:
    Don't miss the Zend Web Store's    |   There's not enough room here...
    Grand Opening on January 23, 2001! |   Start here:
    http://www.zend.com                |   http://l-i-e.com/artists.htm



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to