Jump to content

how to...limit number of pageviews


alex506

Recommended Posts

rough idea (am sure those more proficient can suggest a better method)...

db table - id, ip, hits

page 1

get ip

check if ip in table - NO - insert ip and hits

                              - YES AND hits<max, increment hits

                              - YES AND hits =>max send to url

---

note: what if there are more than one unique user in same ip?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.