php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36438 _sessions value error
Submitted: 2006-02-18 02:38 UTC Modified: 2006-02-26 01:00 UTC
From: zbyue at starlight dot net dot cn Assigned:
Status: No Feedback Package: Session related
PHP Version: 5.1.2 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: zbyue at starlight dot net dot cn
New email:
PHP Version: OS:

 

 [2006-02-18 02:38 UTC] zbyue at starlight dot net dot cn
Description:
------------
$_SESSION['authorized'] = "ddde"; 
$_SESSION['userid'] = "0294"; 
$_SESSION['name'] = "george"; 

$a = count($_SESSION);
if ($a>0) {
	var_dump($_SESSION);
}

exec 1 result:
array(3) { ["authorized"]=>  string(4) "ddde" ["userid"]=>  string(4) "0294" ["name"]=>  string(6) "george" } 
exec 2 result:
array(5) { ["authorized"]=>  string(4) "ddde" ["s?:"ddde";userid"]=>  NULL ["s?:"0294";name"]=>  NULL ["userid"]=>  string(4) "0294" ["name"]=>  string(6) "george" } 
exec 3 result:
array(5) { ["authorized"]=>  string(4) "ddde" ["s?:"ddde";s?:"ddde";userid"]=>  NULL ["s?:"0294";name"]=>  NULL ["userid"]=>  string(4) "0294" ["name"]=>  string(6) "george" } 
exec 4 result:
array(5) { ["authorized"]=>  string(4) "ddde" ["s?:"ddde";s?:"ddde";s?:"ddde";userid"]=>  NULL ["s?:"0294";name"]=>  NULL ["userid"]=>  string(4) "0294" ["name"]=>  string(6) "george" } 
exec 5 result:
array(5) { ["authorized"]=>  string(4) "ddde" ["s?:"ddde";s?:"ddde";s?:"ddde";s?:"ddde";userid"]=>  NULL ["s?:"0294";name"]=>  NULL ["userid"]=>  string(4) "0294" ["name"]=>  string(6) "george" } 
exec 6 result:
array(5) { ["authorized"]=>  string(4) "ddde" ["s?:"ddde";s?:"ddde";s?:"ddde";s?:"ddde";s?:"ddde";userid"]=>  NULL ["s?:"0294";name"]=>  NULL ["userid"]=>  string(4) "0294" ["name"]=>  string(6) "george" }
exec 7 result:
array(5) { ["authorized"]=>  string(4) "ddde" ["s?:"ddde";s?:"ddde";s?:"ddde";s?:"ddde";s?:"ddde";s?:"ddde";userid"]=>  NULL ["s?:"0294";name"]=>  NULL ["userid"]=>  string(4) "0294" ["name"]=>  string(6) "george" } 



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-18 17:17 UTC] derick@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip

I can not reproduce this...
 [2006-02-26 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 09:01:26 2024 UTC