title: cookie - only vote once
body: <p>Ive got a webpage where users input a story/event and other users can like or dislike the post.</p>
  
  <p>I want to create a cookie that allows users to only vote once per post (each page will have many posts)</p>
  
  <p>I know that storing in a database would be a better way incase the user delete his/her cookies but the post will not be of high importance. Also i would imagine that creating a database for cookies would take a lot of code and the database would be huge as there will be mass amount of posts and likes for each.</p>
  
  <p>I think creating a cookie would be a better option for what i need</p>
  
  <p>I have no idea how to do this though and ive searched high and low on google but i dont know if im searching wrong key words or its just my lack of knowledge letting me down</p>
  
  <p>So could someone please advise me how to create this cookie for what i need please</p>
  
  <p>Thanks</p>