Bug #16345 Updated: mysql and header() problem prevent saving session vars(?)

From: Date: Fri, 29 Mar 2002 19:00:50 +0000
Subject: Bug #16345 Updated: mysql and header() problem prevent saving session vars(?)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-3622@lists.php.net to get a copy of this message
ID: 16345 Updated by: yohgaki@php.net -Summary: can't register variables through $_SESSION -Reported By: cybermage@hirnstrudel.de +Reported By: dave@netready.biz -Status: Open +Status: Duplicate Bug Type: Session related -Operating System: Windows XP Professional +Operating System: Linux (Debian) -PHP Version: 4.1.2 +PHP Version: 4.1.1 Previous Comments: ------------------------------------------------------------------------ [2002-03-29 11:09:39] uberl0rd@hotmail.com This is a duplicate of the session bug found here: http://bugs.php.net/bug.php?id=16102 ------------------------------------------------------------------------ [2002-03-29 11:01:01] cybermage@hirnstrudel.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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16345&edit=1

« previous php.bugs (#3622) next »