I made a Web Application in asp.net MVC5. In my application I have some products. On every product a logged user can press a like button. How can I disable the like button after the logged user already pressed it. I want other users to be able to press that button, but not the users which already have pressed the button.
I don't want to save in my database all the users which have liked the product because I will have to many values in my database.
Can anyone give me an advice how I should do this? At least maybe I could save something in session.
Thanks!