Bug #10732 Updated: Storage of session variable fails
| From: | derick@php.net | Date: | Tue, 08 May 2001 14:52:41 +0000 |
| Subject: | Bug #10732 Updated: Storage of session variable fails | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54393@lists.php.net to get a copy of this message | ||
ID: 10732
Updated by: derick
Reported By: Paul_Kroll@hotmail.com
Old-Status: Open
Status: Feedback
Bug Type: *Session related
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
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
Previous Comments:
---------------------------------------------------------------------------
[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.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10732&edit=2