tags:

views:

132

answers:

1

Hi,

As you can see on the question, what is your advice about stoping hit counter for the same ip in ASP.NET web site ?

Im my real estate project i increase the view count of a property when it is viewed. But i just want to increase it only if the user has a different ip. If the user refresh the page, the hit counter shouldn't be increased.

Thanks in advance

A: 

If it's a website you can be a little more accurate counting unique visitors by dropping a cookie containing the date & time. Check the cookie, if it exists and the date is today don't add one to the counter.

John Boker