Bug #10732 Updated: Storage of session variable fails

From: Date: Tue, 08 May 2001 17:33:47 +0000
Subject: Bug #10732 Updated: Storage of session variable fails
Groups: php.dev 
Request: Send a blank email to php-dev+get-54412@lists.php.net to get a copy of this message
ID: 10732 User Update by: Paul_Kroll@hotmail.com Old-Status: Feedback Status: Closed Bug Type: *Session related Operating system: Linux PHP Version: 4.0.5 Description: Storage of session variable fails Not only could I not reproduce this locally from the snapshot of 4.0.6, but I couldn't from a local 4.0.5. But the problem was definitely happening on my web hosting company, which just recently had upgraded to 4.0.5... finally, I did a session_destroy() at the end of the previous test, and on refresh, everything worked fine. Is the 4.0.5 serialized/session format subtley different from the 4.0.4 format? Seems to from this result. In any case, it does not appear to be a bug in the CODE, though it may be a "lack of documentation of a change that'll cause hair-pulling" bug. :) Safe to close I think. Previous Comments: --------------------------------------------------------------------------- [2001-05-08 10:52:40] derick@php.net I could not verify this withphp 4.0.6dev, can you try the lastest snapshot from snaps.php.net? This was my test: [root@aarde mp3]# php <?php session_register('user'); $user['UserName'] = "this is a test"; print $user['UserName']; ?> X-Powered-By: PHP/4.0.6-dev Set-Cookie: PHPSESSID=435a120c6d20caee178fff903259557d; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-type: text/html this is a test --------------------------------------------------------------------------- [2001-05-08 10:47:01] Paul_Kroll@hotmail.com Previously, doing: <?php session_register('user'); $user['UserName'] = "this is a test"; print $user['UserName']; ?> would result in the browser displaying: this is a test In PHP 4.0.5, the browser displays: t Which is not quite the expected result. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=10732

« previous php.dev (#54412) next »