3
   

[answered]Number of Users

 
 
cjhsa
 
Reply Thu 21 Aug, 2003 03:52 pm
I noticed that on the main page it shows "View Online Members" with a number that follows, which I'm assuming is how many there are.

If I go in there, however, there aren't nearly as many users, counting the guests, as that initial number would indicate.
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 3 • Views: 1,074 • Replies: 4
No top replies

 
Craven de Kere
 
  2  
Reply Thu 21 Aug, 2003 04:16 pm
The home page and all pages outside of the /forums/ directory use separate code that is loosely integrated with the forum database.

You might note that one the "who's online" page you will never see visitors or members that are shown to be viewing the home page.

So basically the home page ect have sessions that work differently than the forum. In the forum it's important to maintain a level of session security that is not needed on the home page (since the home page just displays content and does not alter even viewcount etc.

So on the main pages of the site, the number indicates all users on the forums AND the main pages. While the who's online list is only who is in the /forums/ directory.

That's why the list never says anyone is on the home page.
0 Replies
 
cjhsa
 
  1  
Reply Thu 21 Aug, 2003 04:20 pm
Thanks for the explanation!
0 Replies
 
jespah
 
  1  
Reply Thu 21 Aug, 2003 04:21 pm
Also, some of these numbers lag for a few minutes, e. g. the reading is for up to 5 minutes ago.
0 Replies
 
Craven de Kere
 
  2  
Reply Thu 21 Aug, 2003 04:35 pm
The numbers are not perfect for lots of reasons. Using the back button can pull from cache for e.g and not update an active session. Some pages do not use sessions to lessen the load on the database server, and most of all because on the forum pages I disabled guest sessions so the users who do not sign in or get a cookie generate very few sessions because they have no session ID.

The actual server logs report many times that number of file requests but since I removed the session ID in the URLs for guests batches of them appear to be a single user on the who'd online list.

The opposite can also be true. A guest can sometimes appear twice on the list because each session is open for 5 minutes. Dometimes because of the way I altered the sessions the guests get a new session instead of renewing the old one.
0 Replies
 
 

Related Topics

How to use the new able2know - Discussion by Craven de Kere
New A2K feature requests. - Discussion by DrewDad
I'm the developer - Discussion by Nick Ashley
JIM NABORS WAS GOY? - Question by farmerman
A2K censors tags? - Discussion by hingehead
New A2K Bugs - Discussion by sozobe
New A2K annoyances - Discussion by sozobe
The a2k world is changing 3: about voting - Discussion by Craven de Kere
LOST & MISPLACED A2K people. - Discussion by msolga
Welcome to the 'New' My Posts - Discussion by Nick Ashley
The "I get folksonomy" club - Discussion by Robert Gentel
 
  1. Forums
  2. » [answered]Number of Users
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.04 seconds on 04/26/2024 at 06:37:17