ID:          37926
 Updated by:  [EMAIL PROTECTED]
 Reported By: thomas at ecommerce dot com
-Status:      Open
+Status:      Bogus
 Bug Type:    Documentation problem
 PHP Version: 5.x
 New Comment:

As described above, adding a note is not appropriate as it will more
than likely add confusion. 


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

[2006-11-07 14:08:53] mjwindsorREMOVE at CAPShotmail dot com

I do not agree that this is a documentation problem, or that describing
it as “expected behaviour” is a suitable response. If PHP is a robust
language, it cannot have unexpected and obscure rules applied at
random. $_SESSION should just be an array that persists between page
requests, providing session_start() has been called: that is what
everyone expects and that is how it is used.

In every other case, $new_array = $existing_array; is a value
assignment and simply copies one array to another and no alteration is
made or should be expected to $existing_array or its properties.

I have spent several days trying to work out why my sessions weren’t
working as I expected and taken up the time of several helpful posters
in various fora. I finally tracked the problem down to this issue and
some code included in every page of a widely used forum; an otherwise
robust and secure open source product. I seriously doubt that a note in
the documentation would have saved me much of this work and none of the
work needed to get around the issue, once it was identified. This will
apply equally to all those who fall foul of this problem – you need to
know what the problem is before searches will turn up documentation.

Mike

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

[2006-07-06 11:18:36] [EMAIL PROTECTED]

We welcome a patch from you.
I however don't see the need to document it, will only add 
confusion.

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

[2006-07-06 10:25:55] thomas at ecommerce dot com

Updated information that this is general

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

[2006-07-06 10:20:27] thomas at ecommerce dot com

Any status update on this bug??? Not hard to add in documentation

-.-

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

[2006-06-30 09:54:15] thomas at ecommerce dot com

So, does this get fixed at least in the documentation? :)

I still don't understand why this can't get fixed, a lot of user crys
because of the 'magic feature' of the session and such problems.

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

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