Hello,
We are facing early session timeouts in php 5.2.3 on bsd unix. This happens
even more frequently when multiple users are logged in.
Googling I found http://bugs.php.net/bug.php?id=42135
and was wondering if this could the related bug for this problem. If so where
can I get the patch for this bug.
Thanks
Bharat Nagwani wrote:
Hello,
We are facing early session timeouts in php 5.2.3 on bsd unix. This happens
even more frequently when multiple users are logged in.Googling I found http://bugs.php.net/bug.php?id=42135
and was wondering if this could the related bug for this problem. If so where
can I get the patch for this bug.
Well, PHP 5.2.3 was released May 31, 2007. That is starting to get
quite dated and as you can see bug 42135 was fixed in July 2007. It
seems to me your path is pretty clear.
-Rasmus
Agreed we need an upgrade. But upgrade on a large application (1000+ pages) can be expensive.
#42135 Second call of session_start()
causes creation of SID
I would imagine - creation of SID is related with session timeouts.
Also we are using storing session in a cookie.
I was able to pull up the diff from
http://svn.php.net/viewvc/php/php-src/trunk/ext/session/session.c?r1=240642&r2=240748
Hopefully this will solve the issue. If anyone has more insight on this please advise.
Thanks
-----Original Message-----
From: Rasmus Lerdorf [mailto:rasmus@lerdorf.com]
Sent: Saturday, August 01, 2009 11:00 AM
To: Bharat Nagwani
Cc: internals@lists.php.net
Subject: Re: [PHP-DEV] Early session timeouts on 5.2.3
Bharat Nagwani wrote:
Hello,
We are facing early session timeouts in php 5.2.3 on bsd unix. This happens
even more frequently when multiple users are logged in.Googling I found http://bugs.php.net/bug.php?id=42135
and was wondering if this could the related bug for this problem. If so where
can I get the patch for this bug.
Well, PHP 5.2.3 was released May 31, 2007. That is starting to get
quite dated and as you can see bug 42135 was fixed in July 2007. It
seems to me your path is pretty clear.
-Rasmus
Bharat Nagwani wrote:
Agreed we need an upgrade. But upgrade on a large application (1000+ pages) can be expensive.
Going from 5.2.3 to 5.2.10 shouldn't be expensive at all. At least no
more so than trying to hand-patch your PHP to a non-standard version.
-Rasmus
Bharat Nagwani wrote:
Agreed we need an upgrade. But upgrade on a large application (1000+
pages) can be expensive.
As far as I can remember we had no BC breaks or function changes from 5.2.3
until 5.2.10, you should not have any problem at all to upgrade, on the
contrary, you should gaina lot in performance and other tweaks.
--
Rafael Dohms
PHP Evangelist and Community Leader
http://www.rafaeldohms.com.br
http://www.phpsp.org.br