Using cookies to increase page view count

Posted 1 month ago by RootTech

Before now, I use sessions to auto increment post view counts.. But I want page view count to increase only when a new IP or device visits the page.. I'll like to set the duration to forever too

Any hints?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.