PHP Bugs  
php.net | support | documentation | report a bug | advanced search | search howto | statistics | login

go to bug id or search bugs for  

Bug #16043 $_SESSION can't use in PHP 4.1.2
Submitted:13 Mar 2002 10:40am UTC Modified: 21 Mar 2002 7:51pm UTC
From:tokimeki at pchome dot com dot tw Assigned to:
Status:Closed Category:Session related
Version:4.1.2 OS:Windows XP
Votes:6 Avg. Score:4.5 ± 0.8 Reproduced:6 of 6 (100.0%)
Same Version:1 (16.7%) Same OS:0 (0.0%)
View/Vote Developer Edit Submission

[13 Mar 2002 10:40am UTC] tokimeki at pchome dot com dot tw
as title,
the global var. array $_SESSION can't use in PHP 4.1.2
(4.1.1/4.1.0 are OK)
P.S. I install PHP in Apache 1.3.23 modules
[14 Mar 2002 10:27am UTC] tokimeki at pchome dot com dot tw
thank you for reply...
I test the $_SESSION use those 3 PHP file...

1.php
===============================
<?php
session_start();
echo '<a href=2.php>TEST</a>';
echo '<hr>SESSION<br>';
foreach($_SESSION as $k => $v)
	echo "$k => $v<br>";
$_SESSION['a']='a';
?>
===============================
2.php
===============================
<?php
session_start();
echo '<a href=3.php>TEST</a>';
echo '<hr>SESSION<br>';
foreach($_SESSION as $k => $v)
	echo "$k => $v<br>";
$_SESSION['b']='b';
?>
===============================
3.php
===============================
<?php
session_start();
echo '<a href=1.php>TEST</a>';
echo '<hr>SESSION<br>';
foreach($_SESSION as $k => $v)
	echo "$k => $v<br>";
$_SESSION['c']='c';
?>
===============================
very simple...
I like use PHP 4.1.x new features($_GET, $_POST, $_SESSION... etc), so I
care about the $_SESSION can right work!
[14 Mar 2002 9:15pm UTC] yohgaki@php.net
Oops,  this is fixed in CVS and will be fixed in 4.2.0 also.

RSS feed | show source 

PHP Copyright © 2001-2009 The PHP Group
All rights reserved.
Last updated: Sat Nov 21 10:30:49 2009 UTC