I had thought about putting IP address into a mysql database, but i know that IP addresses change as ISPs can give users different IP addresses, or something like that. anyway, they change, sometimes twice in a day, so it's not sufficient unfortunately. I would like to be able to allow everyone to submit an answer to the survey and not just members. So it begs the question, is there any unique information that a user brings to a website that does not change over a period of time. I think that maybe this might be a tricky one if a user is not a member.
QUOTE(BetaWar @ 17 Dec, 2006 - 04:24 PM)

If you only want your sites members to be able to vote then use a mysql table to insert their member number with their vote and check if their member number already exists in the given poll before allowing them to vote again.
If you want to allow everyone and anyone tovote add their IP address to a mysql table with their vote and check their IP against the records before allowing them to vote again. The only problem with this is that IPs change given time, or if they re-boot their machine. So you will also want to use cookies, but don't rely solely on cookies as anyone can delete them and be allowed to vote numerous times.
Sessions won't work for a poll because all they would need to do is close all their internet pages and re-open them to be able to vote again.