Bug #16263: session.start() create new empty session file and not resume existing session
| From: | kur at natur dot cuni dot cz | Date: | Mon, 25 Mar 2002 15:27:46 +0000 |
| Subject: | Bug #16263: session.start() create new empty session file and not resume existing session | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-3297@lists.php.net to get a copy of this message | ||
From: kur@natur.cuni.cz
Operating system: Windows 2000
PHP version: 4.1.2
PHP Bug Type: Session related
Bug description: session.start() create new empty session file and not resume existing session
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 bug report at http://bugs.php.net/?id=16263&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16263&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16263&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16263&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16263&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16263&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16263&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16263&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16263&r=submittedtwice