Reply to Re: Can I at least read the session files for all sessions?

Your name:

Reply:


Posted by Chung Leong on 11/09/71 11:31

That won't really work since the presence of a session file doesn't
mean the session is active. Files for session that have expired stay in
the folder under garbage collection occurs. By default, PHP garbage
collects about once every 100 requests. When traffic is low (say, in
the middle of the night), dead sessions could remain for a long time.

As was suggested, it's probably easier to save the info in the database.

[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

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