#16263 [Com]: session.start() create new empty session file and not resume existing session

From: Date: Mon, 19 Sep 2005 15:34:12 +0000
Subject: #16263 [Com]: session.start() create new empty session file and not resume existing session
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-85244@lists.php.net to get a copy of this message
 ID:               16263
 Comment by:       bananen_007 at hotmail dot com
 Reported By:      kur at natur dot cuni dot cz
 Status:           No Feedback
 Bug Type:         Session related
 Operating System: ANY
 PHP Version:      4.3.0-dev
 New Comment:

Just wanted to say that I got the same problem in PHP 5.0.5 clean
installation with Apache 2.x.x.
Reading\Writing to session works in the same page but the server loses
the session when going between different pages or reloading the page.


Previous Comments:
------------------------------------------------------------------------

[2005-07-13 04:36:59] beredim at hotmail dot com

Same here using

PHP 5.0.4
Apache 2.0.54
Windows XP SP2 (up to date)

------------------------------------------------------------------------

[2004-12-08 06:34:09] spam at taylorw dot com

I have this same issue. Just did a clean install of Apache 2.0.52 and
PHP/4.3.9 ... and I have the same issues. A new session is created, and
yes, the php.ini is correct (the one that installed with the Gentoo
ebuild).

------------------------------------------------------------------------

[2004-10-28 15:43:58] kovalchuk at dopomoga dot org dot ua

I got simmilar problem with PHP 5.0.2, Apache 2.0.52 
(Linux, kernel 2.6.8.1). 
The session files are apeared in the session.save_path 
directory and they contains correct entryes, but each time 
I call session_start() a new file is apeared and $_SESSION 
array does not contain anything.

------------------------------------------------------------------------

[2002-11-14 14:42:28] murray dot rennie at ec dot gc dot ca

Redhat 7.2 or 7.3.  PhP 4.1.2, Apache 1.3.23.

I get something similar to this when I change session.cookie_lifetime
to something other than zero, and only when connecting with IE (my
version 5.5).  PHP generates two session files, one has all the info I
initialized with, the second just has the sessionId in it.
It's as if it ignores the first session it created and makes a new one.
 Netscape 4.79 works properly, and when I set session.cookie_lifetime to
0 the problem goes away on IE.

------------------------------------------------------------------------

[2002-04-15 20:27:19] sniper@php.net

once again, whenever you update/downgrade PHP remember
to replace ALL the dlls and other binaries in your systems
with the ones found in the release packages.



------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/16263

-- 
Edit this bug report at http://bugs.php.net/?id=16263&edit=1


Thread (94 messages)

« previous php.bugs (#85244) next »