I am creating blog website. In each blog post you can check how many views does post have. ATM I am getting user's IP address. It's stored in MySQL database. By storing IP I already know user have checked post.
Is it right way to do it? I heard that some IP addresses changes rapidly.
Also, maybe cookies would be better way? But you can easily clear them in the browser. What if I try combination of both - IP & Cookies?
Waiting for opinions, thanks.