Hi,
I have a news site where i want to track how many "visits" or reads each individual news has. I have a main list with all the titles, then clicking on them shows the details of the specific news, only then the counter for that particular news is increased. The problem is, if the user does a refresh while at the details, the counter is increased again. How can i prevent this from happening?
I thought it would be something like a unique counter problem, but its like having a "counter problem" for each news i have. :-P
What would be nice, if it exists, is to check if the user is doing a refresh or coming from somewhere else. If its a refresh, the counter would simply not increase. That would be sufficient to keep the i-want-my-news-to-have-the-higher-number-of-visitors author, from having his way.
Thanks.
Pag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- [PHP] PHP & Apache Patrick
- Re: [PHP] PHP & Apache Yoshi Melrose
- Re: [PHP] PHP & Apache Patrick
- [PHP] PHP & Apache J. Anderson Scarbrough
- [PHP] Re: PHP & Apache DrTebi
- [PHP] PHP & Apache Aaron Stephan William Boeren
- [PHP] Re: PHP & Apache Christoph Grottolo
- Re: [PHP] PHP & Apache 1LT John W. Holmes
- Re: [PHP] How to check for refre... Pag
- Re: [PHP] How to check for r... Justin French
- Re: [PHP] How to check for r... adrian [EMAIL PROTECTED]
- [PHP] Delete Related Table Remon Redika
- Re: [PHP] Delete Relate... 1LT John W. Holmes
- [PHP] Re: How to check for r... Goetz Lohmann
- Re: [PHP] PHP & Apache Aaron Stephan William Boeren
- Re: [PHP] PHP & Apache Justin French
- RE: [PHP] PHP & Apache John W. Holmes