Re: [PHP] QUESTION - user management

2003-04-02 Thread Marek Kilimajer
Check the archives, this has been discused many times before

[EMAIL PROTECTED] wrote:

How do applications know how many users are logged into the system? For
example postnuke will tell you '3 users online, 2 members'. Im gussing it
uses sessions, but how?


Edd Barrett
(http://www.filibusta.net)
 



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] QUESTION - user management

2003-04-02 Thread Matt Giddings
Someone recently posted code for this exact topic on phpclasses.org,
follow the link below.

http://phpclasses.mirrors.nyphp.org/browse.html/package/1018.html

Matt

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, April 02, 2003 5:58 AM
 To: [EMAIL PROTECTED]
 Subject: [PHP] QUESTION - user management
 
 
 How do applications know how many users are logged into the system?
For
 example postnuke will tell you '3 users online, 2 members'. Im gussing
it
 uses sessions, but how?
 
 
 
 Edd Barrett
 (http://www.filibusta.net)
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
 ---
 Incoming mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] QUESTION - user management

2003-04-02 Thread John Coggeshall
 How do applications know how many users are logged into the system?
For
 example postnuke will tell you '3 users online, 2 members'. 
Im gussing
it
 uses sessions, but how?

Basically it keeps track of the active sessions for the total user #,
and then determines how many of those sessions are 'logged in'

John



-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-
John Coggeshall
john at coggeshall dot org  http://www.coggeshall.org/
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-


-Original Message-
From: Matt Giddings [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 03, 2003 12:31 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] QUESTION - user management


Someone recently posted code for this exact topic on 
phpclasses.org, follow the link below.

http://phpclasses.mirrors.nyphp.org/browse.html/package/1018.html

Matt

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, April 02, 2003 5:58 AM
 To: [EMAIL PROTECTED]
 Subject: [PHP] QUESTION - user management
 
 
 How do applications know how many users are logged into the system?
For
 example postnuke will tell you '3 users online, 2 members'. 
Im gussing
it
 uses sessions, but how?
 
 
 
 Edd Barrett
 (http://www.filibusta.net)
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
 ---
 Incoming mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] QUESTION - user management

2003-04-02 Thread Leif K-Brooks
Keeping track of the last time each username / IP address has viewed a 
page, and assuming that any user who was seen less than 5 minutes (or 
so) ago is online.

[EMAIL PROTECTED] wrote:

How do applications know how many users are logged into the system? For
example postnuke will tell you '3 users online, 2 members'. Im gussing it
uses sessions, but how?


Edd Barrett
(http://www.filibusta.net)
 

--
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt 
to decrypt it will be prosecuted to the full extent of the law.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php