Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45176 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78700 invoked from network); 1 Aug 2009 18:09:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Aug 2009 18:09:38 -0000 Authentication-Results: pb1.pair.com header.from=bnagwani@juniper.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=bnagwani@juniper.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain juniper.net from 64.18.2.163 cause and error) X-PHP-List-Original-Sender: bnagwani@juniper.net X-Host-Fingerprint: 64.18.2.163 exprod7og105.obsmtp.com Linux 2.5 (sometimes 2.4) (4) Received: from [64.18.2.163] ([64.18.2.163:59474] helo=exprod7og105.obsmtp.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 44/F7-28136-0E4847A4 for ; Sat, 01 Aug 2009 14:09:37 -0400 Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob105.postini.com ([64.18.6.12]) with SMTP ID DSNKSnSE3TivQk2pQ3IHtnOiU1ZFX4zbtQrD@postini.com; Sat, 01 Aug 2009 11:09:37 PDT Received: from EMBX02-HQ.jnpr.net ([fe80::18fe:d666:b43e:f97e]) by P-EMHUB01-HQ.jnpr.net ([fe80::fc92:eb1:759:2c72%11]) with mapi; Sat, 1 Aug 2009 11:06:33 -0700 To: Rasmus Lerdorf CC: "internals@lists.php.net" Date: Sat, 1 Aug 2009 11:06:30 -0700 Thread-Topic: [PHP-DEV] Early session timeouts on 5.2.3 Thread-Index: AcoS0fOV+w2GQM7rRSS/RwGQrJSx5gAACQGw Message-ID: References: <4A7482B8.7020302@lerdorf.com> In-Reply-To: <4A7482B8.7020302@lerdorf.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: [PHP-DEV] Early session timeouts on 5.2.3 From: bnagwani@juniper.net (Bharat Nagwani) 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.=20 I was able to pull up the diff from=20 http://svn.php.net/viewvc/php/php-src/trunk/ext/session/session.c?r1=3D2406= 42&r2=3D240748 Hopefully this will solve the issue. If anyone has more insight on this ple= ase advise. Thanks -----Original Message----- From: Rasmus Lerdorf [mailto:rasmus@lerdorf.com]=20 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, >=20 > We are facing early session timeouts in php 5.2.3 on bsd unix. This happe= ns > even more frequently when multiple users are logged in. >=20 > Googling I found http://bugs.php.net/bug.php?id=3D42135 > and was wondering if this could the related bug for this problem. If so w= here > 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