<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to limit users to one vote per IP address</title>
	<atom:link href="http://kev.in/2008/01/18/how-to-limit-users-to-one-vote-per-ip-address.html/feed" rel="self" type="application/rss+xml" />
	<link>http://kev.in/2008/01/18/how-to-limit-users-to-one-vote-per-ip-address.html</link>
	<description>"It was a musical thing and you were supposed to sing"</description>
	<lastBuildDate>Fri, 05 Mar 2010 12:54:57 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Prasad</title>
		<link>http://kev.in/2008/01/18/how-to-limit-users-to-one-vote-per-ip-address.html/comment-page-1#comment-26022</link>
		<dc:creator>Prasad</dc:creator>
		<pubDate>Wed, 11 Nov 2009 14:35:36 +0000</pubDate>
		<guid isPermaLink="false">http://railsauthority.com/tutorial/how-to-limit-users-to-one-vote-per-ip-address#comment-26022</guid>
		<description>Hi,

 Polling against client IP may not be a very good idea. Incase of ISPs which assign dynamic IPs it may not work as expected. For ex.,

 User A -&gt; Gets IP - IP1 -&gt; Votes -&gt; Disconnects
 User B -&gt; Gets IP - IP1(dynamic IP) -&gt; Tries to vote - failure, pissed off - Never voted in first place

 Let me know if my logic is right. Currently I am resorting to assigning a cookie first time user visits a site with cookie contents being IP and the first time user visits the site.

Thanks
-- Prasad
http://roorky.com
Interactive Programming Books</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p> Polling against client IP may not be a very good idea. Incase of ISPs which assign dynamic IPs it may not work as expected. For ex.,</p>
<p> User A -&gt; Gets IP &#8211; IP1 -&gt; Votes -&gt; Disconnects<br />
 User B -&gt; Gets IP &#8211; IP1(dynamic IP) -&gt; Tries to vote &#8211; failure, pissed off &#8211; Never voted in first place</p>
<p> Let me know if my logic is right. Currently I am resorting to assigning a cookie first time user visits a site with cookie contents being IP and the first time user visits the site.</p>
<p>Thanks<br />
&#8211; Prasad<br />
<a href="http://roorky.com" rel="nofollow">http://roorky.com</a><br />
Interactive Programming Books</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: james</title>
		<link>http://kev.in/2008/01/18/how-to-limit-users-to-one-vote-per-ip-address.html/comment-page-1#comment-13095</link>
		<dc:creator>james</dc:creator>
		<pubDate>Wed, 04 Jun 2008 19:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://railsauthority.com/tutorial/how-to-limit-users-to-one-vote-per-ip-address#comment-13095</guid>
		<description>I actually just created a small rails based pull.  I set it up quite simular to this, however, instead of having any logic in the controller to check I simply added a line in the model:

validates_uniqueness_of :client_ip</description>
		<content:encoded><![CDATA[<p>I actually just created a small rails based pull.  I set it up quite simular to this, however, instead of having any logic in the controller to check I simply added a line in the model:</p>
<p>validates_uniqueness_of :client_ip</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://kev.in/2008/01/18/how-to-limit-users-to-one-vote-per-ip-address.html/comment-page-1#comment-13094</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Fri, 08 Feb 2008 21:27:59 +0000</pubDate>
		<guid isPermaLink="false">http://railsauthority.com/tutorial/how-to-limit-users-to-one-vote-per-ip-address#comment-13094</guid>
		<description>What do you mean by a &quot;full-blown registered-user approach&quot;?
Thanks,

Jim</description>
		<content:encoded><![CDATA[<p>What do you mean by a &#8220;full-blown registered-user approach&#8221;?<br />
Thanks,</p>
<p>Jim</p>
]]></content:encoded>
	</item>
</channel>
</rss>
