473,624 Members | 2,288 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Ensuring one vote per person


I have built a rating server control. Whats the best way to ensure one vote
per person? Check IP Addresses and allow 1 vote per IP address or via
cookies?

Thanks
Ashok

Jul 17 '06 #1
6 1924
Hello Showjumper" dfgkjhdf,

IP Address doesn't work because of proxy servers. I have to say that e-mail
address is the only way I can imagine it workign well.
Thanks,
Shawn Wildermuth
Speaker, Author and C# MVP
http://adoguy.com
I have built a rating server control. Whats the best way to ensure one
vote per person? Check IP Addresses and allow 1 vote per IP address or
via cookies?

Thanks
Ashok

Jul 17 '06 #2
IP addresses cannot be relied upon to be unique because of proxy server &
such.
The only reasonable way to be sure is to create an authentication system.
People sign up, get a user name and password, then they log in and vote.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Showjumper " <dfgkjhdfwrot e in message
news:Og******** ******@TK2MSFTN GP05.phx.gbl...
>
I have built a rating server control. Whats the best way to ensure one
vote per person? Check IP Addresses and allow 1 vote per IP address or via
cookies?

Thanks
Ashok


Jul 17 '06 #3

Okay Thanks Shawn and Steve
"Steve C. Orr [MVP, MCSD]" <St***@Orr.netw rote in message
news:Oo******** ******@TK2MSFTN GP03.phx.gbl...
>
IP addresses cannot be relied upon to be unique because of proxy server &
such.
The only reasonable way to be sure is to create an authentication system.
People sign up, get a user name and password, then they log in and vote.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Showjumper " <dfgkjhdfwrot e in message
news:Og******** ******@TK2MSFTN GP05.phx.gbl...
>>
I have built a rating server control. Whats the best way to ensure one
vote per person? Check IP Addresses and allow 1 vote per IP address or
via cookies?

Thanks
Ashok





Jul 17 '06 #4

How is MSDN handling it? At the end of the articles, one can vote and if you
try to vote twice a popup appears.
"Steve C. Orr [MVP, MCSD]" <St***@Orr.netw rote in message
news:Oo******** ******@TK2MSFTN GP03.phx.gbl...
>
IP addresses cannot be relied upon to be unique because of proxy server &
such.
The only reasonable way to be sure is to create an authentication system.
People sign up, get a user name and password, then they log in and vote.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Showjumper " <dfgkjhdfwrot e in message
news:Og******** ******@TK2MSFTN GP05.phx.gbl...
>>
I have built a rating server control. Whats the best way to ensure one
vote per person? Check IP Addresses and allow 1 vote per IP address or
via cookies?

Thanks
Ashok





Jul 17 '06 #5
Pretty sure they are just setting a cookie to do that.

Showjumper wrote:
>
How is MSDN handling it? At the end of the articles, one can vote and if you
try to vote twice a popup appears.
"Steve C. Orr [MVP, MCSD]" <St***@Orr.netw rote in message
news:Oo******** ******@TK2MSFTN GP03.phx.gbl...
>IP addresses cannot be relied upon to be unique because of proxy server &
such.
The only reasonable way to be sure is to create an authentication system.
People sign up, get a user name and password, then they log in and vote.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Showjumper " <dfgkjhdfwrot e in message
news:Og******* *******@TK2MSFT NGP05.phx.gbl.. .
>>I have built a rating server control. Whats the best way to ensure one
vote per person? Check IP Addresses and allow 1 vote per IP address or
via cookies?

Thanks
Ashok




Jul 17 '06 #6
Some sites pass a cookie once you vote. Of course if you erase the cookie,
you could vote again so it isn't reliable.

"Showjumper " <dfgkjhdfwrot e in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
>
How is MSDN handling it? At the end of the articles, one can vote and if
you try to vote twice a popup appears.
"Steve C. Orr [MVP, MCSD]" <St***@Orr.netw rote in message
news:Oo******** ******@TK2MSFTN GP03.phx.gbl...
>>
IP addresses cannot be relied upon to be unique because of proxy server &
such.
The only reasonable way to be sure is to create an authentication system.
People sign up, get a user name and password, then they log in and vote.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Showjumper " <dfgkjhdfwrot e in message
news:Og******* *******@TK2MSFT NGP05.phx.gbl.. .
>>>
I have built a rating server control. Whats the best way to ensure one
vote per person? Check IP Addresses and allow 1 vote per IP address or
via cookies?

Thanks
Ashok






Jul 17 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2164
by: Otis Green | last post by:
Vote for or against a new newsgroup proposal. To summarize what you need to do, just send an empty e-mail to postgresql-ballot@netagw.com You will receive a ballot by e-mail. Follow the instructions and vote. _______________________________________________________________________ FIRST CALL FOR VOTES (of 2)
8
2677
by: William Drew | last post by:
REQUEST FOR DISCUSSION (RFD) unmoderated group comp.databases.mysql This is an invitation to discuss the following proposal to create newsgroup comp.databases.mysql. Please note that YOU CANNOT VOTE NOW; you may be able to vote on a version of this proposal later. See the PROCEDURE section below if you need information about how the discussion works. PLEASE POST ANY FOLLOWUPS TO THE NEWSGROUP NEWS.GROUPS.
14
1446
by: Otis Green | last post by:
Vote for or against a new newsgroup proposal. To summarize what you need to do, just send an empty e-mail to postgresql-ballot@netagw.com You'll receive a ballot by e-mail. Follow the instructions and vote. _______________________________________________________________________ FIRST CALL FOR VOTES (of 2)
1
1446
by: Denis Van der Heyden | last post by:
Hi, I have a friend who creates non-professional films and he is actually on a german website. I want to vote for him a lot of time,and I would need to create a shortcut for the vote. When we open the main page, http://www.prophoto-online.de/index.php?name=photokinavideofun.php his movie: Olivier Naisy, (F)
1
1062
by: Brennan Stehling | last post by:
I have posted 4 feature requests here... https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=232161 Please vote for them if you think they would be useful. I really think it would make Visual Studio much more helpful as I write code. Brennan Stehling http://brennan.offwhite.net/blog/
2
4320
by: teddysnips | last post by:
This is sort of an addendum to my previous post entitled: "Restrict FE application to one user at a time". My preferred design is to have a table with a single row that contains the network name of the person currently connected to the database. The existence of the row will serve a) to allow the system to bump any other user who wishes to connect, and b) to inform such users of the name of the currently logged-on user. However, at...
1
1276
by: Dogandpony | last post by:
Our local club has about 15 Board members, and we vote online using a mySQL/php web interface. I have several different queries/results that I print which show varying displays of motions/votes/tallies and so on. NOW our Board wants to not only see the summary listing for all motions, but also include a list of each Board member who DIDN'T vote on any motion. I've tried various joins, COUNT, etc. but so far I haven't been able to add the...
2
1924
nitindel
by: nitindel | last post by:
hey guys..!!! I am making a voting form in ASP VBScript before moving to production server..i want to have the following enhancement... Only one vote is allowed per person..I am thinking of catching the IP address and resticting him/her to vote more than once. having alert message('You have already voted..!!')
1
1436
by: vote4amin | last post by:
Dear frens, Need your help to spend a minute of your time to vote for my little boy in Cutefam 2008 contest. Please click --->>> http://www.thelilcaliph.com/CuteFam2008/voteWithCodes.html to vote. The rule is only one vote per ip per day. So, you can only vote once a day until 28th June. Appreciate if you can forward this link to your frens and family. Thanks a lot in advanced for your help.
0
8175
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8680
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8336
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8482
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7168
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4082
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4177
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1487
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.