Register   Login
     
  Categories  
  Archives  
  Authors  
  Blog  
13

I've checked in a small change for users online in DotNetNuke 3.2 tonight.

When counting anonymous users, the code was mistakenly counting web crawlers, rss clients, etc as anonymous users.

An anonymous user is identified by assigning a GUID to that client and then giving it a cookie. Most robots/scripts don't support cookies so they were being added as a unique user on each request. A check has been added to check for cookie support before adding it as an anonymous users.

Incidently, to check for cookie support is very simple:-

if Request.Browser.Cookies then

' Do Work

end if

Post Rating

Comments

lomaxx
# lomaxx
Thursday, October 13, 2005 6:07 AM
this is interesting scott, i've often wondered why when I go to a couple of DNN sites that it says there are x number of visitors when quite clearly there aren't...

Post Comment

Name (required)

Email (required)

Website

Enter the code shown above: