ID: 14688 Updated by: yohgaki Old Summary: session_register() doesn't register Reported By: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] This bug is in 4.1.1 aswell ------------------------------------------------------------------------ [2001-12-25 07:44:24] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] What is your register_globals setting? Derick ------------------------------------------------------------------------ [2001-12-24 19:00:41] [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]