You are here: Re: how to delete session automatically after ther the time expires « PHP Programming Language « IT news, forums, messages
Re: how to delete session automatically after ther the time expires

Posted by Erwin Moller on 01/17/07 13:31

balakrishnan.dinesh@gmail.com wrote:

> hi Erwin
>
> I have change the session_lifetime in php.ini file which you
> have said. But still the session files remains same, Another thing i
> have noticed is, If give value as 5, then only two file are present in
> the session folder and if i give the value as 30, some 10 or 15 file
> are present in the session folder.at the sametime after the time
> reached which as fixed as value for session lifetime, nothing is
> happening, everythings remains same i.e, no session file are getting
> deleted.
>
> Rgrds
> Dinesh...

Hi,

It is perfectly possible you have 30 old sessionfiles in your directory.
When using the settings in my example for gc.* they will only be garbage
collected once in thousand times.

Regards,
Erwin Moller

 

Navigation:

[Reply to this 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

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