I would like for my site to offer pseudo-codes or white tips for allowing an unverified vote . I looked at related topics on this topic, but I think my script is different from others in order to guarantee its own flow.
There are 3 main scenarios . I want to support.
1) The authenticated user "Joe Blow" is registered on my site and votes. Since it is authenticated, it only gets one vote. For every vote he makes, I store his UserId in the database
2) An unauthorized user "Sally" visits my site and votes. Since she did not authenticate, I will save her voice under the user account Anonymous Users from My Site.
3) An unauthorized user "Zoltan" uses the widget that I created to strike at my site from another partner site that hosts my widget. He can also vote from this site. I will save his vote under the partner-partner account called "Anonymous user-from-partner-site".
The twist here is that I need to support the ability of “Sally” and “Zoltan” to vote for an unlimited amount . Perhaps Sally wants to vote for 500 things in one day. Perhaps Zoltan wants to vote on 200 things on an affiliate site. Sally may not be reviewing the site for a month, and then comes back to vote more.
How can I get scripts 2 and 3 with a cookie? Do I have a hash of the entire item id for the vote together? What are my options?
FWIW: . , - . , . - , , , , , cookie . , , , .
: - EverCookie. .