Number of Views Wron at First?
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=17556
Printed Date: 13 April 2026 at 9:54pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: Number of Views Wron at First?
Posted By: jeffdaro
Subject: Number of Views Wron at First?
Date Posted: 15 December 2005 at 11:42pm
We have a problem with the number of views reported on our forums. If you post a new post, the number of views seems to increment by 2-3 for each view until the number of views crests 10. Then it increments by 1.
Anyone else seen this?
|
Replies:
Posted By: vitor ferreira
Date Posted: 21 December 2005 at 3:47pm
yes, i detected the same problem.
------------- Best Regards
Vitor Ferreira
|
Posted By: WebWiz-Bruce
Date Posted: 21 December 2005 at 3:57pm
Not sure how this can happen as the code runs in a procedule way; when
the page is loaded it reads in the total views, adds 1 to it, then
saves it back to the database again.
The only way it would go up faster is if others are looking at the page or you are hitting refresh.
------------- 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: 22 December 2005 at 4:47am
|
We've tested on a number of occassions, and it appears to be a valid issue. I guess it's possible a crawler is hitting my site, and causing the problem, but it is too re-produceable for me to chalk it up to chance. Looking at the code briefly, I agree it doesn't make sense, but it is happening.
|
Posted By: WebWiz-Bruce
Date Posted: 22 December 2005 at 12:08pm
It could be somthing to do with firewall and/or proxy servers you maybe using.
Something like these maybe sending mutiple requests to the server thus
coursing the web server to call the file mutiple times, each time
running the file so the view number is incremented.
Again your log files may help here.
Try posting a new post, and if it increments by more than 1 have a look
in your sites log files to see if mutiple requests are sent to the
server for that 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
|
|