Reply to stale session files

Your name:

Reply:


Posted by Jonathan N. Little on 12/06/05 06:59

With all the security concerns and folks disabling JavaScript and
cookies I converted my site to PHP. Originally I use session cookie to
keep track of items our patrons selected on our gallery for checkout.
Since the cookie was just in the clients browser memory, garbage
collection was simple. Now with PHP sessions, patrons now do not have to
have cookies enabled to shop on our site, but since this is not a 'log
on' and 'log off' situation there is not an explicit 'log off' event to
destroy the session. The stale sessions files pile up. Is my only option
create a maintenance script to run periodically to delete session file >
24hrs old?


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[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

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