ID: 14688
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: No Feedback
+Status: Feedback
Bug Type: Session related
Operating System: linux 2.2
PHP Version: 4.2.0RC2
New Comment:
Having a SetCookie and a Redirect in the same response causes
unpredictable behaviour and will be browser-dependant. I'd suggest not
relying on this. PHP does send both, so unless you can somehow show us
an example of PHP not actually sending both the Location and the
SetCookie then I don't see how this is a PHP issue.
Previous Comments:
------------------------------------------------------------------------
[2002-05-11 00:00:03] [EMAIL PROTECTED]
No feedback was provided for this bug for over a month, 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".
------------------------------------------------------------------------
[2002-04-25 12:43:34] [EMAIL PROTECTED]
4.2.0 final still has the problem. And it is a problem, not an
imagination.
------------------------------------------------------------------------
[2002-04-11 04:18:27] [EMAIL PROTECTED]
FYI, with 4.0.5 my example scripts gives expected result - 4 with
register_globals = on, and the same nothing with register_globals =
off.
------------------------------------------------------------------------
[2002-04-10 11:10:21] [EMAIL PROTECTED]
With register_globals = off I get nothing, i.e. no number, just
newline, with or without session_unregister("counter"). Seems like
$counter does not exist at all.
------------------------------------------------------------------------
[2002-04-10 08:25:06] [EMAIL PROTECTED]
This is very strange. I have redirect and session works as it shold.
Could you try register_globals=Off to see if it works?
------------------------------------------------------------------------
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/14688
--
Edit this bug report at http://bugs.php.net/?id=14688&edit=1