P
Paul W Smith
I have written a hit counter, which I believe counts the times my page is
hit by a user for each unique session by the user.
The relevant part of my code is below:
If IsEmpty(Session("TotalCount")) Then
' Increment or reset the count
If Weekday(Date(),vbSunday) = 1 And dtDate <> Date then
iCount = 1
Else
iCount = iCount + 1
End If
dtDate = Date
End If
Session("TotalCount")= iCount
The page is www.middlesexccl.com
My issue is I cannot believe the number of hits I am getting - or more
accurately should I trust the number of hits I am getting.
When I first go to the URL I see the count increased by one, but it does not
incredment if I reload the page.
Is there any techniques that the clubs involved could be using, i.e. some
sort of 'fancy' linking to the page from their web site which might be
causing the count to be incremented unduely? I am sorry if that sounds a
little vague but I cannot udnerstand where the hits are coming from.
If anyone has any other odeas on how to test this please let me have
details.
Many thanks to all those who give this isue their attention.
Paul Smith
hit by a user for each unique session by the user.
The relevant part of my code is below:
If IsEmpty(Session("TotalCount")) Then
' Increment or reset the count
If Weekday(Date(),vbSunday) = 1 And dtDate <> Date then
iCount = 1
Else
iCount = iCount + 1
End If
dtDate = Date
End If
Session("TotalCount")= iCount
The page is www.middlesexccl.com
My issue is I cannot believe the number of hits I am getting - or more
accurately should I trust the number of hits I am getting.
When I first go to the URL I see the count increased by one, but it does not
incredment if I reload the page.
Is there any techniques that the clubs involved could be using, i.e. some
sort of 'fancy' linking to the page from their web site which might be
causing the count to be incremented unduely? I am sorry if that sounds a
little vague but I cannot udnerstand where the hits are coming from.
If anyone has any other odeas on how to test this please let me have
details.
Many thanks to all those who give this isue their attention.
Paul Smith