>> 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