Issues with Rating Script, cookies & ethics
While trying to write rating script I came across several methods and designs online. Logic pretty much same but diff implementation. Using Ajax is what I have chosen to do so but I have few questions that I couldnt' find the answers to.
Most scripts, found online, uses database with number of votes and total aggragate of vote values, to show the current rating of an item(image, or video or other items).
To use unique voting ie, not to allow same user to vote more than once on one item::simple and easy way is t set cookie on users machine. And here is the question: If an average user views 10 or more images/videos, you would set 10 or more cookies that would refer to each viewed item, in one week that is 70 or more cookies + how many days would you set the cookies for? After all this, cookies have to retire oneday, which implies the same user could stumble on the same item he/she voted 1 week ago or 2 weeks ago, since the cookie has expired he can vote again. All this implies that uniqueness of voiting or rating can not be established logically unless you set the cookies for ever.
Now I know there are many experts here in the forum and I would like to get suggestion on this issue. I personally am against setting unnecessary cookies on valued customers/users. What boils my mind is how youtube sets cookies on videos watched, videos rated. Is youtube setting these cookies for how long? If I am a youtube junky and watch 10 or more videos a day my computer is piled with youtube cookies.
I hope someone will kindly give me some insight on this. thanks