ID:               20583
 User updated by:  jseverson at myersinternet dot com
 Reported By:      jseverson at myersinternet dot com
-Status:           No Feedback
+Status:           Open
 Bug Type:         Session related
 Operating System: RedHat 7.2
 PHP Version:      4CVS-2002-11-22 (stable)
 New Comment:

This has not been fixed yet, and changing that setting in our php.ini
did nothing. The only reason I've stopped posting comments here is
because we've decided to downgrade our box to an older php version so
we don't have to constantly put up with the errors. Please let us know
when this has been fixed.

Thanks


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

[2003-03-19 16:48:04] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



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

[2003-03-13 00:21:54] [EMAIL PROTECTED]

What is your php.ini setting for session.bug_compat_42 ?
Does turning that on/off change anything?  

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

[2003-03-13 00:12:36] junkmail-trash at int0rnet dot net

I'm seeing this as well, on PHP 4.3.0 on Darwin -- it's 
definately related to sessions.  

My boss keeps asking why we aren't using Cold Fusion for 
this project.  I'm starting to have trouble coming up with 
a good answer to keep using PHP..

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

[2003-02-26 17:12:56] jseverson at myersinternet dot com

On that same note, we have now rolled back all our servers to an older
version of php as this was bug was becoming impossible to work with.

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

[2003-02-26 17:12:10] jseverson at myersinternet dot com

Well, unfortunately I have bad news for you. Try using the empty() or
isset() functions on your new $_SESSION global variables. My guess is
they will always return true regardless of whether or not that variable
actually has a value. At least this was my experience when I did the
same thing you did, and went through replacing all my session
functions.

So for instance, in order to replace:

session_is_registered("variable")

you'd have to do:

!empty($_SESSION["variable"])

unfortunately, it always returns true!!

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

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/20583

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

Reply via email to