Print Page | Close Window

view number behaving oddly

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=17919
Printed Date: 13 April 2026 at 4:32pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: view number behaving oddly
Posted By: rac04
Subject: view number behaving oddly
Date Posted: 13 January 2006 at 3:38pm
Hi there

    We're running WebWiz for a month or so, really pleased with it
    so far .. very nice piece of software.

    We've noticed one oddity -- every time a user opens a topic, the
    view count increments by two, rather than one. We're running
    the software on W2K3/IIS6, as a subdirectory of a main site.

    Any idea why this might be?

thanks,

    R.



Replies:
Posted By: WebWiz-Bruce
Date Posted: 13 January 2006 at 3:44pm
Someone else has reported this and I think I now know why.

I found out recently that with Google ads, Google sends out an Google/Adsense spider each time you view a page with Google ads on it that it has not indexed before, a few seconds after you visit it for the first time.

It's probably this spider indexing the page after your first view that is incrementing the number of views.

In version 7.x it doesn't recognise the Adsense spider in the active users page, but displays it as Unknown, have a look straight after to see if you have an Unknown Guest user listed in your active users page.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: WebWiz-Bruce
Date Posted: 13 January 2006 at 3:46pm
I shall have to look into making it so that in future versions this spider does not increment the page views.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: rac04
Date Posted: 13 January 2006 at 3:47pm
Just checked, no guests listed at all. This behaviour is consistent - it happens every time, on every post .. wouldn't have thought that pointed to Adsense?


Posted By: WebWiz-Bruce
Date Posted: 13 January 2006 at 3:55pm
The logic of the code is procedule so it is impossible to increment by more than 1 unless the page is called more than once.

I have been looking into the adsense spder after spooting some strange stuff in the active users page on this site and it does seem that if you have adsense ads on a page the Google/Adsense spider always hits the page immediately aafter it is viewed, which would incerent the view number.

The only other way it could be happening if that if for some reason you have some software running on your machine that means that page is called twice.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: jeffdaro
Date Posted: 18 January 2006 at 3:45pm
I was the one that reported this view count issue, and I do have Google Ad's on my site, so that would tend to make me agree with your initial analysis.


Posted By: jeffdaro
Date Posted: 18 January 2006 at 4:31pm
Any idea which page is the culprit? I'll test on my end too.


Posted By: WebWiz-Bruce
Date Posted: 18 January 2006 at 5:34pm
I have fixed this issue for the next beta version of version 8.

In version 8 the detection is much better, so I have made it so that the view count doesn't increment when the Posts page is indexed by a search engine spider.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: rac04
Date Posted: 18 January 2006 at 5:56pm
Hi

    Maybe I'm missing something here -- we don't use AdWords
    on our site, and I'm using a licenced version of the forum, so
    your AdWords reference is being ignored, right?

R.


Posted By: WebWiz-Bruce
Date Posted: 19 January 2006 at 9:54am
Then as I said previously the incrementing of the view count is done in a procedule way, by reading in the view count, add 1 to it, and save it to the database.

The only way it will increment twice is that if for some reason the file (page) is being requested more than once.

This could be to do with your server setup, but my guess it is more linkly to do with ad blocking, AV, firewall, etc. software that you are running on your PC's that are effecting it by also sending a request to the file (page).


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net