php 5.2.3-1ubuntu6.2 works fine here Ubuntu Gutsy :
::::::::::::::
a.php
::::::::::::::
<?php
session_start();
echo "ea";
if (!isset ($_SESSION['gutsy'])){
$_SESSION['gutsy'] = "";
}else{
$_SESSION['gutsy'] = "is working ";
}
if ( !isset ($_SESSION['count'])){
$_SESSION['count'] = 0;
}else{
$_SESSION['count']++;
}
?>
<p>
<a href="b.php">To B </a>
::::::::::::::
b.php
::::::::::::::
<?php
session_start();
echo "session gutsy :";
echo $_SESSION['gutsy'];
echo "<br>session count :";
echo $_SESSION['count'];
?>
<p>
<a href="a.php"> To a </a>
------------------
After some clicks on the links this is te result :
session gutsy :is working
session count :4
--
php5 5.1.2-1ubuntu3.10 breaks session handling
https://bugs.launchpad.net/bugs/175892
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs