Forum Moderators: coopster

Message Too Old, No Replies

a way to find out who voted?

regarding opinion poll

         

someone

7:26 pm on Jan 21, 2005 (gmt 0)

10+ Year Member



I am thinking, I can capture the IP address of the person who voted and then look that up using nslookup in the cmd window. That way, I would be able to find out their computer name and eventually lead to who that person is. The organization the poll is targeted for allows me to know who that person is as long as I have the computer name.

Is this a good way to do it? Does anyone have any suggestion? Thanks.

dmmh

9:04 pm on Jan 21, 2005 (gmt 0)

10+ Year Member



u could force people to register, or if they already need to be logged in/ register simply insert the vote with some details like the user's id in a separate DB table, thats what I do

someone

9:29 pm on Jan 21, 2005 (gmt 0)

10+ Year Member



I don't want to force them to register or log in as I want people to be as hassle-free as possible since I think this will encourage more people to participate and vote. The reason why I want to find out who the voters are is just that sometimes I suspect that some people vote like more than 30 times just to get their point/opinion across, and in that case, I would like to know who that is.

dmmh

9:35 pm on Jan 21, 2005 (gmt 0)

10+ Year Member



well in that case I think ur on the right track. from your description I dra the conclusion this is a intranet thing? if not, I never wanne live in the country you are in :)

MatthewHSE

9:52 pm on Jan 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Could you build in ways of stopping someone from voting more than once? For instance, track the IP address, set a cookie, etc.? (Yes, I know cookies aren't foolproof, but they may work for audiences that aren't tech savvy.)

Timotheos

10:14 pm on Jan 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi someone,

If this is a Window's environment and your server is integrated with Window's authentication then check into using $_SERVER["AUTH_USER"]. That will nail the user and not the machine.

Tim