Sagewire Logo

On line vorting

11 Message(s) by 2 Author(s) originally posted in cold fusion


From: El Kabong Date:   Monday, May 07, 2007
I'm looking for some sample ColdFusion code for an on line survey or voting contest
that limits voter's IP address to a single vote. Any ideas?

El

--
"Faced with the choice between changing one's mind and proving that there is
no need to do so, almost everyone gets busy on the proof."
Galbraith's Law


From: Tom Chiverton Date:   Monday, May 07, 2007
wrote in message :
I'm looking for some sample ColdFusion code for an on line survey or voting contest
that limits voter's IP address to a single vote. Any ideas?



Are you sure you want to do that ?
What about multiple users behind the the same IP, such as home users
behind a NAT'ing router, AOL users etc. ?

--

Tom C
The more crap you put up with, the more crap you are going to get.


From: El Kabong Date:   Monday, May 07, 2007
Is there any _practical_ yet fair way to take a vote on line?

What I had in mind was a photo contest for our annual Fall Ride event.
(http://www.tomahawkfallride.com) But if we let visitors pick their
favorite, say three, pictures, what's to keep them from voting again and
again for themselves or a friend?

Does this problem have a solution or should we just forego any visitor
participation and pick our own favorites to win free passes?

Thanks for your input.

El

"Tom Chiverton"
wrote in message
in message
wrote in message:
I'm looking for some sample ColdFusion code for an on line survey or voting
contest
that limits voter's IP address to a single vote. Any ideas?
Are you sure you want to do that ?
What about multiple users behind the the same IP, such as home users
behind a NAT'ing router, AOL users etc. ?
--
Tom C


> The more crap you put up with, the more crap you are going to get.


From: Tom Chiverton Date:   Monday, May 07, 2007
wrote in message:
Is there any _practical_ yet fair way to take a vote on line?



The BBC feels it is enough to set a cookie when voting, and if it's
present, do not let them vote, AFAICT.

But, broadly, no, online voting can not be fair - at the extreme end there
is no way to prove the voter has not had a gun held to their head.

--

Tom C
'Insisting on perfect safety is for people who do not have the balls to
live in the real world.'
- Mary Shafer, NASA Ames Dryden


From: El Kabong Date:   Monday, May 07, 2007
"Tom Chiverton"
wrote in message
in message
wrote in message:
But, broadly, no, online voting can not be fair - at the extreme end there
is no way to prove the voter has not had a gun held to their head.



A gun to their head? That's a lot of trouble just to win a couple of weekend
passes to see 38 Special.

Setting a cookie seems reasonable to keep most folks reasonably honest. Now
I just need some sample code or a tutorial that can give me some point ers.

El


From: Tom Chiverton Date:   Tuesday, May 08, 2007
wrote in message:
Setting a cookie seems reasonable to keep most folks reasonably honest. Now
I just need some sample code or a tutorial that can give me some pointers.



I did not think it'd be needed.
Check cookie on 'list of votes you can place' page - if present, skip to
'results page'
Check cookie on the 'your vote has been counted' page, if set, skip to
'results' page else record vote, set cookie, go to 'results' page--

Tom C
Sturgeon's Law: Ninety percent of everything is shit.


From: El Kabong Date:   Tuesday, May 08, 2007
My apologies, Tom, but I do not have a URL to go with the pages to which you
refer. Maybe I'm just slow but did I miss something?

El"Tom Chiverton"
wrote in message
in message
wrote in message:
Setting a cookie seems reasonable to keep most folks reasonably honest.
Now
I just need some sample code or a tutorial that can give me some
pointers.
I did not think it'd be needed.
Check cookie on 'list of votes you can place' page - if present, skip to
'results page'
Check cookie on the 'your vote has been counted' page, if set, skip to
'results' page else record vote, set cookie, go to 'results' page
--
Tom C


> Sturgeon's Law: Ninety percent of everything is shit.


From: Tom Chiverton Date:   Sunday, May 13, 2007
wrote in message:
My apologies, Tom, but I do not have a URL to go with the pages to which you
refer.



How are you doing your online voting app. then ?

--

Tom C
Junior Encyclopedia of Space #6:
GEESE: A bird which is slower than CONCORDE, and you do not get anything
to eat.


From: El Kabong Date:   Sunday, May 13, 2007
Still looking for some sample code.

Actually, I'm on the verge of working out a scheme whereby the visitor won't
be able to vote unless they first register their E-mail address and select a
password with a choice to opt in to our mailing list. They wouldn't be
required to opt in, only to register.

The registration wouldn't be complete until the E-mail address is confirmed
by a reply. The vote'd be limited to a single instance per E-mail
address. This way anyone can vote once, no one can vote more than once
unless they register more than one E-mail address. Hopefully, it'll be
more hassle than it's worth to go to Yahoo, Gmail or where ever and create
new E-mail addresses, then come back and fill out the registration form
again, then go to their E-mail client to confirm the address, then come back
to the site and vote again, all to pick which ever photo they think is best
more than once.

I mean, it's not like they were going to win a million bucks or something. I
realize many folks have several E-mail addresses and they'd certainly be
able to register them all but the results would not be skewed as bad as if
someone could load them with 500 or 1000 bogus votes.

Do you know a better way? Point me towards an example and I will consider it
for sure. After all this is all new to me. I'm somewhat familiar with
Cold Fusion so that is the reason I posted here, but if there is a script or
applet that will do this job, I'd be happy to glam onto it.

Thanks for your help.

El
"Tom Chiverton"
wrote in message
in message
wrote in message:
My apologies, Tom, but I do not have a URL to go with the pages to which
you
refer.
How are you doing your online voting app. then ?
--
Tom C
Junior Encyclopedia of Space #6:
GEESE: A bird which is slower than CONCORDE, and you do not get anything


> to eat.


From: Tom Chiverton Date:   Monday, May 14, 2007
wrote in message:
able to register them all but the results would not be skewed as bad as if
someone could load them with 500 or 1000 bogus votes.
Do you know a better way? Point me towards an example and I will consider it



Seems over kill to the the simple 3 templates I outlined earlier.
Anyone with their own domain and mail server will still be able to game
the system, which takes us back to my first post :-)

I'm not going to write actual ColdFusion code for you, though, sorry. I get paid
to do that at work :-)

--

Tom C
'God doesn't play dice with the universe; He plays an ineffable game of
his own devising, which might be compared, from the perspective of any
of the other players, to being involved in an obscure and complex
version of poker in a pitch dark room, with blank cards, for infinite
stakes, with a dealer who won't tell you the rules, and who smiles all
the time.'
- Gaiman and Pratchett
- Good Omens


From: El Kabong Date:   Monday, May 14, 2007
"Tom Chiverton"
wrote in message
in message

I'm not going to write actual ColdFusion code for you, though, sorry. I get paid
to do that at work :-)Of course, you do! So do I and so I understand completely.

Check cookie on 'list of votes you can place' page - if present, skip to
'results page'
Check cookie on the 'your vote has been counted' page, if set, skip to
'results' page else record vote, set cookie, go to 'results' page



You know? You're right. I just did not read your suggestion carefully enough.
I will be digging through Ben Forta's books for something close to what I
need.

'God doesn't play dice with the universe; He plays an ineffable game of
his own devising, which might be compared, from the perspective of any
of the other players, to being involved in an obscure and complex
version of poker in a pitch dark room, with blank cards, for infinite
stakes, with a dealer who won't tell you the rules, and who smiles all
the time.'
- Gaiman and Pratchett
- Good Omens



The universe functions under God's law s at all times--all known physical
science consists merely the less important sections we've deciphered on
our own. But centuries ago He was kind enough to gives us a User's Manual
with the really important stuff in an unchanging language.

Thanks again, Tom.

El

"Preach the gospel at all times. Use words if necessary."
St. Francis of Assisi



Next Message: email pop up box



Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional