PHP 4.0 Bug #5396: new vars can't be added to session, existing vars values can't be changed

From: Date: Thu, 06 Jul 2000 09:48:28 +0000
Subject: PHP 4.0 Bug #5396: new vars can't be added to session, existing vars values can't be changed
Groups: php.dev 
Request: Send a blank email to php-dev+get-23543@lists.php.net to get a copy of this message
From: nepolon@worlddomination.net Operating system: Linux 2.x PHP version: 4.0.1pl2 PHP Bug Type: Session related Bug description: new vars can't be added to session, existing vars values can't be changed to recreate: 1. create a session with some arbitrary number of session variables 2. Header("Location: someotherurl.php") Now working in someotherurl.php ... 3. session_start() to re-scope the session variables for use in this page 4. attempt to change value of one of those existing session variables 5. attempt to session_register("some_new_variable") 6. beat your head against the keyboard in frustration :) using a stock php.ini file configure line = ./configure --with-apxs=/usr/sbin/apxs --with-config-file-path=/usr/ --enable-trans-sid --enable-wddx [I probably should have added the --enable-mysql portion to the config line, but MySQL is working for now...] looked for this issue in existing bug database but did not locate anything matching. apologies if user-error caused duplication of bug report. it is possible that something elusive or subtle that I did or did not do contributed to this behavior. please feel free to contact me if you cannot recreate this issue.

« previous php.dev (#23543) next »