Bug #13078 Updated: register_globals = off & session.save_handler = user
| From: | php-jp at typhoon dot co dot jp | Date: | Thu, 13 Dec 2001 10:14:15 +0000 |
| Subject: | Bug #13078 Updated: register_globals = off & session.save_handler = user | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73491@lists.php.net to get a copy of this message | ||
ID: 13078
User updated by: php-jp@typhoon.co.jp
Reported By: php-jp@typhoon.co.jp
Old Status: Feedback
Status: Open
Bug Type: Session related
Operating System: FreeBSD 4.x
PHP Version: 4.0.6, 4.1.0
New Comment:
Yes, I have problems with or without session_register/unregister.
In fact, I first tried:
$_SESSION["varname"] = "somevaluehere";
to see if it was saved. But it was NOT. So, I tried this:
session_register("varname");
$_SESSION["varname"] = "somevaluehere";
thinking it would help. Anyhow, none of the above worked.
Once again, if
register_globals=on
then, everything is fine.
---ends---
Previous Comments:
------------------------------------------------------------------------
[2001-12-13 04:52:52] yohgaki@php.net
When you use $_SESSION or $HTTP_SESSION_VARS, you don't need session_register/unregister to
save session vars.
Do you have problem still when you don't use session_register/unregister?
------------------------------------------------------------------------
[2001-12-13 02:54:32] php-jp@typhoon.co.jp
Added 4.1.0 into the "PHP Version" field of this report.
---ends---
------------------------------------------------------------------------
[2001-12-12 07:56:54] php-jp@typhoon.co.jp
After posting the test results with 4.1.0, I tried using:
session_register("varname");
before doing a:
$_SESSION["varname"];
i.e.,
session_register("varname");
$_SESSION["varname"] = "somevaluehere";
And yet, the custom sess_write was never called.
--ends--
------------------------------------------------------------------------
[2001-12-12 07:32:36] php-jp@typhoon.co.jp
Just tried this with 4.1.0 (released on Dec 10) and the original problem description applies, i.e.
this has not been fixed.
Tried this on:
PHP4.1.0
Apache 1.3.20
FreeBSD4.X
---
------------------------------------------------------------------------
[2001-11-24 19:49:29] sniper@php.net
Can you please verify if this is now fixed in latest CVS:
http://snaps.php.net/
------------------------------------------------------------------------
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/?id=13078
Edit this bug report at http://bugs.php.net/?id=13078&edit=1