Reddit, as we all know, allows around 1 vote per ip address per link to avoid issues with spammers. I am working on a Slim application that will have a voting feature and I, quite frankly, have no idea how to implement system like this as I have no experience with cookies and native sessions. Also most of my functions have paths like (example) localhost:8888/myapp/voteup/item-to-vote.