Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2005051

Re: [PHP] Finding current PHP sessions From: Richard Lynch (ceo <email protected>)
Date: 05/14/05

On Fri, May 13, 2005 1:01 am, Bogdan Stancescu said:
> I know I could read the session files themselves, but I'd very much
> rather use a "proper" way to retrieve the active sessions, which would
> work with alternate methods of storing session data, if there is any
> such proper way to do this.

Reading the filenames is perfectly good for what you want for the default
built-in sessions -- If the session file is gone, it's pretty much gone,
eh?

If somebody is doing custom session handling, then they have their own
function for deleting a session and handling gc, and you just need to make
it easy for them to call YOUR session data destroy routines.

-- 
Like Music?
http://l-i-e.com/artists.htm

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