Bug #14688 Updated: session_register() doesn't register

From: Date: Tue, 25 Dec 2001 11:00:24 +0000
Subject: Bug #14688 Updated: session_register() doesn't register
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-74935@lists.php.net to get a copy of this message
ID: 14688 Updated by: derick 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: What is your register_globals setting? Derick Previous Comments: ------------------------------------------------------------------------ [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

« previous php.dev (#74935) next »