php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16177 session_register() cannot register variables to URL's passed through the header
Submitted: 2002-03-20 01:26 UTC Modified: 2002-03-20 06:23 UTC
From: dgg-100326 at apc dot edu dot ph Assigned:
Status: Not a bug Package: URL related
PHP Version: 4.0.6 OS: Windows 98
Private report: No CVE-ID: None
 [2002-03-20 01:26 UTC] dgg-100326 at apc dot edu dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-20 06:23 UTC] sander@php.net
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


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 13:01:29 2024 UTC