Reply to Re: [PHP] Finding current PHP sessions

Your name:

Reply:


Posted by Richard Lynch on 05/14/05 09:32

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация