+1

The best way to detect unique page view

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.

8/25/2019 10:23:23 PM

Rimvydas Kanapka

1 Answer

New Answer

+9

Should be helpful https://stackoverflow.com/questions/4001973/tracking-unique-visitors-only