You are here: Re: PHP sessions time out too quickly « PHP Language « IT news, forums, messages
Re: PHP sessions time out too quickly

Posted by C. on 06/21/07 16:16

On 20 Jun, 17:49, Jason Maur <jmau...@yahoo.com> wrote:
> Hey all,
>
> I'm having a problem with PHP sessions. Users
> (including myself) are having their sessions expire
> after only a couple minutes, despite session.gc_maxlifetime
> being set to 1440 (24mins?). Any general ideas on what
> would cause a session to terminate? I'm using a lot of
> javascript (mootools) to do some AJAX stuff. Maybe that
> has something to do with it? Any help / suggestions would
> be appreciated...


Odd. Might be a problem with the timezone handling on your machine
(filesystem timestamps in a different TZ from the garbage collection
php process). I'd try writing your own session handler and hooking in
some instrumentation if it still happens.

C.

 

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

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