Hi, How do I write a simple 'visitor counter' in Zope? Thx, Thyb
Conceptually, here's an approach: Create a cookie for the purpose of tracking which people have visited the site. It can have either a trivial value like 1 or it can be a serial number to track which particular people are there at a given time. But to track unique visitors, anytime the server sees a browser without the cookie it sets the cookie and increments an internal counter. That count is the number of unique visitors. Implementing this should not be hard at all. On 23-Feb-04, at 6:26 AM, Thyb wrote:
Hi,
How do I write a simple 'visitor counter' in Zope?
Thx,
Thyb
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
http://zope.org/Members/andym/FSCounter and the updated improved version http://www.zope.org/Members/SmileyChris/FScounter -- Andy McKay ClearWind Consulting http://www.clearwind.ca
participants (3)
-
Andy McKay -
Murray Pearson -
Thyb