Bug #16177 Updated: session_register() cannot register variables to URL's passed through the header
| From: | sander@php.net | Date: | Wed, 20 Mar 2002 11:23:22 +0000 |
| Subject: | Bug #16177 Updated: session_register() cannot register variables to URL's passed through the header | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-2948@lists.php.net to get a copy of this message | ||
ID: 16177
Updated by: sander@php.net
Reported By: dgg-100326@apc.edu.ph
-Status: Open
+Status: Bogus
Bug Type: URL related
Operating System: Windows 98
PHP Version: 4.0.6
New Comment:
The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php
Previous Comments:
------------------------------------------------------------------------
[2002-03-20 01:26:37] dgg-100326@apc.edu.ph
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 this bug report at http://bugs.php.net/?id=16177&edit=1