Bug #16263 Updated: session.start() create new empty session file and not resume existing session

From: Date: Sat, 06 Apr 2002 06:06:10 +0000
Subject: Bug #16263 Updated: 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-4186@lists.php.net to get a copy of this message
 ID:               16263
 Updated by:       timebreaker@newmail.ru
 Reported By:      kur@natur.cuni.cz
 Status:           Feedback
 Bug Type:         Session related
 Operating System: Windows 2000
 PHP Version:      4.1.2
 New Comment:

Experiencing the same on Win98/Apache1.3.24/PHP4.1.2... Looks like it's
really a bug of 4.1.x (?) since I have 4.0.6 and it works fine.
 By using session_register("var") I can force it to create "var" record
in the session data file, but it does not save any value after the
variable name.
 The bug is serious, please, make some feedback on it...


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

[2002-04-03 04:36:32] derick@php.net

Nothing changed between 4.1.1 and 4.1.2, but you can try php-4.2.0rc1
from www.php.net/~derick if you want.
Please report back if this fixes the problem.

Derick

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

[2002-04-03 04:34:48] andreas@kampanjportalen.com

*** *** *** *** *** *** *** *** *** *** *** *** 
Yeah, this is a bug in 4.1.2... does anybody know where I can download
the previous 4.1.1 version of PHP???

It has been removed from php.net and I can't seem to find it anywhere
else.

Thanks!

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

[2002-03-25 10:27:44] kur@natur.cuni.cz

When calling function session_start() in 4.1.2 version, it creates new
empty file in session.save_path. In version 4.1.1 it was OK, after
installing new version this does not work, even if php.ini is the
same.
print_r($_SESSION) gets empty array. I have register_globals off and
using only $_SESSION, $_GET, .... vars
my php.ini:

session.save_handler      = files
session.save_path         = c:\program files\php\tmp
session.use_cookies       = 1
session.name              = PHPSESSID
session.auto_start        = 0
session.cookie_lifetime   = 0
session.cookie_path       = /
session.cookie_domain     = burcin.natur.cuni.cz
session.serialize_handler = php
session.gc_probability    = 1
session.gc_maxlifetime    = 1440
session.referer_check     =
session.entropy_length    = 0
session.entropy_file      =
session.cache_limiter     = nocache
session.cache_expire      = 0
session.use_trans_sid     = 1

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


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



Thread (94 messages)

« previous php.bugs (#4186) next »