o:[EMAIL PROTECTED]]
Sent: Wednesday, 8 January 2003 1:11 PM
To: Timothy Hitchens (HiTCHO)
Cc: 'Jeff Bluemel'; [EMAIL PROTECTED]
Subject: RE: [PHP] anyway to do a 'whos online' from session variable?
On Wed, 8 Jan 2003, Timothy Hitchens (HiTCHO) wrote:
Hmm... yes you coul
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, 9 January 2003 5:24 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] anyway to do a 'whos online' from session variable?
ok - let me take that a step further - if I store the SID in
the table also are the files in the /tmp directory stored
with the SID
Simple create a database table for logins and have a status that you
set to online / offline and last seen could also be added.
Then it is just a simple SELECT statement.
If you don't want to use a database you could flock (not perfect) a file
then read in a serialised array and update then
yea, that will work. however, I was thinking of something a little more
dramatic like parsing the /tmp directly, associating ID's, and killing dead
sessions etc.
Timothy Hitchens ) [EMAIL PROTECTED] wrote in message
-
From: Jeff Bluemel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 8 January 2003 10:04 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] anyway to do a 'whos online' from session variable?
yea, that will work. however, I was thinking of something a
little more dramatic like parsing the /tmp
lled via php.ini
HiTCHO has Spoken!
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
-Original Message-
From: Jeff Bluemel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 8 January 2003 10:04 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] anyway to do a 'whos online' from session
On Wed, 8 Jan 2003, Timothy Hitchens (HiTCHO) wrote:
Hmm... yes you could create an array of the files then check the last
mod stamp using stat (remember to reset stat).
Sessions are also cleaned up via the garbage collection system
controlled via php.ini
How do you force garbage
to do a 'whos online' from session variable?
On Wed, 8 Jan 2003, Timothy Hitchens (HiTCHO) wrote:
Hmm... yes you could create an array of the files then
check the last
mod stamp using stat (remember to reset stat).
Sessions are also cleaned up via the garbage collection
8 matches
Mail list logo