Bug #14688 Updated: session_register() doesn't register
| From: | yohgaki@php.net | Date: | Fri, 11 Jan 2002 23:31:27 +0000 |
| Subject: | Bug #14688 Updated: session_register() doesn't register | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-76717@lists.php.net to get a copy of this message | ||
ID: 14688
Updated by: yohgaki
Old Summary: session_register() doesn't register
Reported By: niklas-phpbugs@alberth.com
Old Status: Open
Status: Feedback
Bug Type: Session related
Operating System: linux 2.2
PHP Version: 4.1.0
New Comment:
Clarification.
Which save handler are you using files or user?
Previous Comments:
------------------------------------------------------------------------
[2001-12-25 14:20:57] niklas-phpbugs@alberth.com
This bug is in 4.1.1 aswell
------------------------------------------------------------------------
[2001-12-25 07:44:24] niklas-phpbugs@alberth.com
Both servers got register_globals = On.
On the 4.1.0 server i run with a php.ini that originates from the 4.0.5
release.
--niklas
------------------------------------------------------------------------
[2001-12-25 06:00:24] derick@php.net
What is your register_globals setting?
Derick
------------------------------------------------------------------------
[2001-12-24 19:00:41] niklas-phpbugs@alberth.com
I got an array as a session var, then on one page I do
unset($basket);
$basket = array();
session_register("basket");
to empty the array but the array seems to be unaffected.
The exact same code works on 4.0.5.
4.1.0 setup:
'./configure' '--with-apxs=/usr/local/apache/bin/apxs'
'--disable-debug' '--enable-track-vars' '--with-pgsql'
'--with-gd=../gd-1.8.4' '--with-zlib=/usr' '--with-jpeg-dir=/usr'
'--with-ttf' '--with-xslt' '--with-xslt-sablot'
--niklas
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14688&edit=1