php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16043 $_SESSION can't use in PHP 4.1.2
Submitted: 2002-03-13 10:40 UTC Modified: 2002-03-21 19:51 UTC
Votes:6
Avg. Score:4.5 ± 0.8
Reproduced:6 of 6 (100.0%)
Same Version:1 (16.7%)
Same OS:0 (0.0%)
From: tokimeki at pchome dot com dot tw Assigned:
Status: Closed Package: Session related
PHP Version: 4.1.2 OS: Windows XP
Private report: No CVE-ID:
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tokimeki at pchome dot com dot tw
New email:
PHP Version: OS:

 

 [2002-03-13 10:40 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-14 10:27 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!
 [2002-03-14 21:15 UTC] yohgaki@php.net
Oops,  this is fixed in CVS and will be fixed in 4.2.0 also.
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun May 28 06:02:06 2017 UTC