#18996 [Fbk->NoF]: Can't unset() the session variables
| From: | sniper@php.net | Date: | Sat, 21 Sep 2002 06:58:37 +0000 |
| Subject: | #18996 [Fbk->NoF]: Can't unset() the session variables | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19948@lists.php.net to get a copy of this message | ||
ID: 18996
Updated by: sniper@php.net
Reported By: frank@orite.com
-Status: Feedback
+Status: No Feedback
Bug Type: Session related
Operating System: Redhat Linux 7.3
PHP Version: 4.2.2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2002-08-21 01:59:43] kalowsky@php.net
You tried the stable or the unstable snapshot?
This is only in the unstable snapshot.
------------------------------------------------------------------------
[2002-08-21 01:47:56] frank@orite.com
I've tried the snapshot just now, this problem still persists.
------------------------------------------------------------------------
[2002-08-20 19:03:55] kalowsky@php.net
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2002-08-20 18:07:57] frank@orite.com
Actually I can unset the variables without problem by using
session_unregister() or session_unset();
However from the PHP Manual, these two functions are defered as:
Note: If $_SESSION (or $HTTP_SESSION_VARS for PHP 4.0.6 or less) is
used, use unset() to unregister a session variable.
Caution
If you are using $HTTP_SESSION_VARS/$_SESSION and disable
register_globals, do not use session_register(),
session_is_registered() and session_unregister().
------------------------------------------------------------------------
[2002-08-20 17:24:37] frank@orite.com
I have same problem on my Windows Machine running IIS 5.1 PHP 4.2.2 as
well.
------------------------------------------------------------------------
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/18996
--
Edit this bug report at http://bugs.php.net/?id=18996&edit=1