Just thought I would add that this could be made to work with .threads database and store IP addresses with the number of views. This would be much more secure than using cookies but would add about 2-3 additional queries to protected pages if done the way I think it could be done.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.