php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16345 mysql and header() problem prevent saving session vars(?)
Submitted: 2002-03-29 11:01 UTC Modified: 2002-04-10 19:16 UTC
From: cybermage at hirnstrudel dot de Assigned:
Status: Closed Package: Session related
PHP Version: 4.1.1 OS: Linux (Debian)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cybermage at hirnstrudel dot de
New email:
PHP Version: OS:

 

 [2002-03-29 11:01 UTC] cybermage at hirnstrudel dot de
foo.php:
<?php
session_start();
$_SESSION['test'] = 'hello';
?>

bar.php:
<?php
session_start();
echo $_SESSION['test'];
?>

bar.php says "Warning: Undefined index: test"
if i use session_register('test') in foo.php, all works properly

i'm using php as module of Apache/1.3.23

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-29 11:09 UTC] uberl0rd at hotmail dot com
This is a duplicate of the session bug found here:
   http://bugs.php.net/bug.php?id=16102
 [2002-04-10 19:16 UTC] sniper@php.net
Please try the PHP 4.2.0RC2 from http://www.php.net/~derick/ and reopen if it still fails.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Nov 30 06:00:01 2025 UTC