Bug #16177: session_register() cannot register variables to URL's passed through the header

From: Date: Wed, 20 Mar 2002 06:26:37 +0000
Subject: Bug #16177: session_register() cannot register variables to URL's passed through the header
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-2925@lists.php.net to get a copy of this message
From: dgg-100326@apc.edu.ph Operating system: Windows 98 PHP version: 4.0.6 PHP Bug Type: URL related Bug description: session_register() cannot register variables to URL's passed through the header ex1: 1stpage.php <? $var1 = 10 session_start(); session_register("var1"); header("Location: 2ndpage.php"); ?> ex2: 2ndpage.php <? session_start(); //this returns null print $var1; ?> PHP 4.0.6 running on Apache 1.3.x windows 98 webserver on remote computer. -- Edit bug report at http://bugs.php.net/?id=16177&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16177&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16177&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16177&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16177&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16177&r=support Expected behavior: http://bugs.php.net/fix.php?id=16177&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16177&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16177&r=submittedtwice

« previous php.bugs (#2925) next »