Counter module available
Posted: Wed Sep 14, 2005 11:24 am
Hi,
I have written my own counter module. Here is the description:
Counter is a module that counts the number of times a page has been visited. The counter is not incremented every time the page is loaded, but it tries to count the actual number of visits. To this end, it remembers the Internet Protocol (IP) addresses of all the machines from which the page has been requested. The IP addresses are stored during 30 minutes. If the page is reloaded from the same machine several times within 30 minutes, the counter is only incremented once. Only after the 30 minutes have elapsed, a request from the same machine will generate a hit again.
If anyone is interested in getting a zip-file or tar-ball of this module, please let me know.
I will also try to submit the code on the wiki.
Best
Etienne
I have written my own counter module. Here is the description:
Counter is a module that counts the number of times a page has been visited. The counter is not incremented every time the page is loaded, but it tries to count the actual number of visits. To this end, it remembers the Internet Protocol (IP) addresses of all the machines from which the page has been requested. The IP addresses are stored during 30 minutes. If the page is reloaded from the same machine several times within 30 minutes, the counter is only incremented once. Only after the 30 minutes have elapsed, a request from the same machine will generate a hit again.
If anyone is interested in getting a zip-file or tar-ball of this module, please let me know.
I will also try to submit the code on the wiki.
Best
Etienne