Re: [PHP] anyway to do a 'whos online' from session variable?

2003-01-08 Thread Jeff Bluemel
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

RE: [PHP] anyway to do a 'whos online' from session variable?

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
[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

RE: [PHP] anyway to do a 'whos online' from session variable?

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
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

Re: [PHP] anyway to do a 'whos online' from session variable?

2003-01-07 Thread Jeff Bluemel
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

RE: [PHP] anyway to do a 'whos online' from session variable?

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
- 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

Re: [PHP] anyway to do a 'whos online' from session variable?

2003-01-07 Thread Jeff Bluemel
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

RE: [PHP] anyway to do a 'whos online' from session variable?

2003-01-07 Thread ed
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

RE: [PHP] anyway to do a 'whos online' from session variable?

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
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