Click Here for AirGunHome.com Main Page
Argentina Australia Belgium Canada Chile Denmark France Germany Greece India
Italy Mexico New Zealand Netherlands Norway Russian Federation South Africa Spain Turkey United Kingdom United States
AirGunHome.com: THE Worldwide Airgun Forum


RifleScope-Shop.com Store Logo
Air Gun Home Forum Index Register FAQ Memberlist Search

Air Gun Home Forum Index » AirGunHome Q&A » View count is counting 2 hits per view?
Post new topic  Reply to topic View previous topic :: View next topic 
View count is counting 2 hits per view? 
PostPosted: Tue Feb 02, 2010 12:38 pm Reply with quote
Lipoly
Veteran Member
Veteran Member
Joined: 06 Dec 2009
Posts: 241
Location: St. Louis, MO, USA
I happened to notice every time I viewed a post its view counter raised by two instead of one...I did several "tests" to convince myself it wasn't just coincidence that someone else viewed the topic at the same time I did. Anyone else notice this?

My test consists of clicking on a topic, immediately hitting the back button and then refreshing the page...the view counter always increases by at least two (and normally exactly two...a good test is to use a really old post).

_________________
Philip
RWS 350 .22 w/Leapers 4-16x50
Crossman 1377
View user's profile Send private message
 
PostPosted: Tue Feb 02, 2010 12:46 pm Reply with quote
AirGunEric
Site Admin
Site Admin
Joined: 20 Jan 2007
Posts: 4942
Location: "Out There"
Either someone else is viewing the post, or your browser is doing something funky- it is counting correctly when I test it.

Skip the "back" button and look at a post, then click the menu bar line (above the gray/blue line in the forum menu) to return to the forum- if your browser settings are correct, it should then update the number of "views" and be correct.

_________________
`

I'd say "I care."

But I'd be lying.
View user's profile Send private message Visit poster's website
 
PostPosted: Tue Feb 02, 2010 1:28 pm Reply with quote
Lipoly
Veteran Member
Veteran Member
Joined: 06 Dec 2009
Posts: 241
Location: St. Louis, MO, USA
AirGunEric wrote:
Either someone else is viewing the post, or your browser is doing something funky- it is counting correctly when I test it.

Skip the "back" button and look at a post, then click the menu bar line (above the gray/blue line in the forum menu) to return to the forum- if your browser settings are correct, it should then update the number of "views" and be correct.


It appears to have nothing to do with the back button. For some reason it is requesting the page twice when I click on a link (which would cause counter to hit twice), I verified by using http://www.fiddler2.com/fiddler2/ and watching the HTTP traffic. This happens in both IE and Firefox. It didn't appear to happen every time, but most of the time it did. I tried it on two different computers w/same results. I also tried another (non airgun related) forum www.helifreak.com (another one of my hobby vices) but didn't notice anything similar.

Not like it really matters, but it is interesting to note that I'm adding two hits every time I view a topic.

*Edit* I suppose it would matter to AirgunEric who has to pay the bandwidth costs...sending each page twice is not too efficient Smile

_________________
Philip
RWS 350 .22 w/Leapers 4-16x50
Crossman 1377
View user's profile Send private message
 
PostPosted: Tue Feb 02, 2010 2:34 pm Reply with quote
AirGunEric
Site Admin
Site Admin
Joined: 20 Jan 2007
Posts: 4942
Location: "Out There"
I can't explain it- Firefox works fine, and no one else has mentioned this (the vast majority of people are using IE).

Is it possible you have the click speed on your mouse set a bit too fast? Perhaps a nervous twitch? Mr. Green

_________________
`

I'd say "I care."

But I'd be lying.
View user's profile Send private message Visit poster's website
 
PostPosted: Tue Feb 02, 2010 4:14 pm Reply with quote
Lipoly
Veteran Member
Veteran Member
Joined: 06 Dec 2009
Posts: 241
Location: St. Louis, MO, USA
Demo of issue: http://www.youtube.com/watch?v=Sgo_5jSA_2w

I also attached Spy++ to verify only one WM_LBUTTONUP message was being sent to the browser to prove I wasn't frantically pressing the mouse button Smile

_________________
Philip
RWS 350 .22 w/Leapers 4-16x50
Crossman 1377
View user's profile Send private message
 
PostPosted: Tue Feb 02, 2010 4:49 pm Reply with quote
fritz
Silver Status Member
Silver Status Member
Joined: 25 Nov 2008
Posts: 2268
Location: New Jersey- outside of Philadelphia
It just counted 2 hits per view for me also. I use firefox.

_________________
"I never set out to be wierd, it was always everyone else who called me it" -Frank Zappa

Speed is impressive, accuracy is deadly.

It's not that I'm not a people person, it's just that I'm not a stupid people person.
View user's profile Send private message AIM Address MSN Messenger
 
PostPosted: Tue Feb 02, 2010 5:05 pm Reply with quote
AirGunEric
Site Admin
Site Admin
Joined: 20 Jan 2007
Posts: 4942
Location: "Out There"
I cannot explain it- it has not been doing it for me (I also don't use the newest version of any browser, too many defects on initial releases).

What version of FireFox are you guys running?

_________________
`

I'd say "I care."

But I'd be lying.
View user's profile Send private message Visit poster's website
 
PostPosted: Tue Feb 02, 2010 5:37 pm Reply with quote
fritz
Silver Status Member
Silver Status Member
Joined: 25 Nov 2008
Posts: 2268
Location: New Jersey- outside of Philadelphia
I'm running 3.5.7, the newest (or at least relatively new) version.

_________________
"I never set out to be wierd, it was always everyone else who called me it" -Frank Zappa

Speed is impressive, accuracy is deadly.

It's not that I'm not a people person, it's just that I'm not a stupid people person.
View user's profile Send private message AIM Address MSN Messenger
 
PostPosted: Tue Feb 02, 2010 5:44 pm Reply with quote
Lipoly
Veteran Member
Veteran Member
Joined: 06 Dec 2009
Posts: 241
Location: St. Louis, MO, USA
I'm using Firefox 3.6 primarily, but also saw similar issue in IE 8.0.7600. It has not happened in Google Chrome 4.0 once though. Although it appears to have something to do with the client browser (since it didn't happen in Chrome), it also appears to have something to do with www.airgunhome.com as I've not seen it happen w/any other site, in any browser.

_________________
Philip
RWS 350 .22 w/Leapers 4-16x50
Crossman 1377
View user's profile Send private message
 
PostPosted: Tue Feb 02, 2010 11:04 pm Reply with quote
AirGunEric
Site Admin
Site Admin
Joined: 20 Jan 2007
Posts: 4942
Location: "Out There"
Well, I'm using 3.0.9- never had such an issue.

It is indeed the browsers. The problem with any of this is that different browsers will act differently with websites- the newer the browser, the more they get hung up on the "new and exciting" and proper backwards compatibility often gets ignored somewhat.

Really, there's not a thing I can do about it other than constantly trying to have the newest version of bulletin board software online- at great time and expense, in order to keep up with the lazy programmers of the newest browsers- or not. In this case as this is not an epic problem or issue, "not" will be prevailing I'm afraid.

_________________
`

I'd say "I care."

But I'd be lying.
View user's profile Send private message Visit poster's website
 
PostPosted: Wed Feb 03, 2010 1:01 am Reply with quote
Slavia
Moderator
Moderator
Joined: 31 Mar 2008
Posts: 2452
Location: Waseca, Minnesota, USA
I have I.E. 7 and it counted only one hit.

_________________
ˇListo! ˇApunte! ˇFuego!
View user's profile Send private message
View count is counting 2 hits per view? 
  Air Gun Home Forum Index » AirGunHome Q&A
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  

Note: If you are seeing "Please enter your username and password to log in." Your browser cookies have been reset
or you need to register to access the topic in question. Use the 'Register' button near the top left of this page.


Click Here for AirGunHome.com Main Page


Powered by phpBB © 2001-2004 phpBB Group
Partial Styling Supplied by Vjacheslav Trushkin Themes Database.