Forum Moderators: open

Message Too Old, No Replies

Hit Counter problems

It re-counts the same viewer over and over

         

GoodChi

12:08 am on Jan 18, 2006 (gmt 0)

10+ Year Member



I'm sure there is a simple answer to this problem, but I inserted a hit counter into my index page and published the site and now when a viewer enters the index page it counts them, then they go to another page and back again to the index page, it counts them again, etc..? How do I keep this from happening?

Thank You!

httpwebwitch

2:44 am on Jan 18, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



use cookies.

When the page is loaded, read the cookie. if the cookie doesn't exist, increase the counter and drop a cookie. If the cookie does exist, do nothing.

kaled

12:51 pm on Jan 18, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Use a counter that looks at IP addresses and only increments if the request comes from an address not on its recent list.

Kaled.

GoodChi

1:28 pm on Jan 18, 2006 (gmt 0)

10+ Year Member



Thanks Kaled. Is there a way for me to tell which counters can do this? As you can tell I'm a beginner. I just used a counter from my Frontpage software and there wasn't really any difference between the choices. I suppose I need to go to an outside source?