Hi,
(sorry if it's a stupid question but i found nothing about this)
i'm running PHP 4.3.5 on redhat 9 apache 2.
I'm testing 2 test scripts (i'm not the writer, i've just configured the server):
##########test1.php########
<?
session_start();
$_SESSION['toto']="TOTO";
echo "<h1>Here test1 : ".$_SESSION['toto']."</h1>"
?>
##########test2.php########
<?
session_start();
echo "<h1>here test2 : ".$_SESSION['toto']."</h1>"
?>
When i use It returns "Here test1 : toto"
When i use It returns "Here test2 : toto" .... nothing special...
but when i use It returns "Here test1 : toto"
and (i don't know why)It returns "Here test2 : "
It seems to loose session variable..
Maybe i'm missing something with configuration or code.
Any idea??
Thanks for your help!
(sorry if it's a stupid question but i found nothing about this)
i'm running PHP 4.3.5 on redhat 9 apache 2.
I'm testing 2 test scripts (i'm not the writer, i've just configured the server):
##########test1.php########
<?
session_start();
$_SESSION['toto']="TOTO";
echo "<h1>Here test1 : ".$_SESSION['toto']."</h1>"
?>
##########test2.php########
<?
session_start();
echo "<h1>here test2 : ".$_SESSION['toto']."</h1>"
?>
When i use It returns "Here test1 : toto"
When i use It returns "Here test2 : toto" .... nothing special...
but when i use It returns "Here test1 : toto"
and (i don't know why)It returns "Here test2 : "
It seems to loose session variable..
Maybe i'm missing something with configuration or code.
Any idea??
Thanks for your help!