ID:               37926
 User updated by:  thomas at ecommerce dot com
 Reported By:      thomas at ecommerce dot com
-Status:           Bogus
+Status:           Open
-Bug Type:         Session related
+Bug Type:         Documentation problem
 Operating System: SuSE Linux 10.0
 PHP Version:      5.1.4
 New Comment:

Ok, but still, there is nothing in the documentation that explain this
problem or show it, how to avoid it.

Moved to Documentation problem


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

[2006-06-28 13:29:53] [EMAIL PROTECTED]

>Can i get a status update on this bug?
Yes. Don't try to outsmart session extension by changing $_SESSION
array itself. This way $_SESSION looses its magical features and the
only result you can get is invalid/broken data.
This is expected and I have serious doubts it's going to be changed
ever.

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

[2006-06-28 13:25:21] thomas at ecommerce dot com

Can i get a status update on this bug?

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

[2006-06-28 09:57:13] thomas at ecommerce dot com

Here is also an interesting issue:

When i use the 2nd example code ( the one with $tmp = $_SESSION);

and i put

unset($tmp);

after it or try to assign 
$tmp['x'] = 'y';

then the $_SESSION assignment startin again to work. Please
investigatte ASAP.

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

[2006-06-28 09:47:34] thomas at ecommerce dot com

Same problem with this Code example:

<?php
ob_Start();
session_start();

var_dump($_SESSION);

$_SESSION['asdf'] = "cool";

$tmp = $_SESSION;

$cool = 'test';

$_SESSION['me'] = $cool;

var_dump($_SESSION);

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

[2006-06-27 13:39:04] thomas at ecommerce dot com

wrong subject

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/37926

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

Reply via email to