my problem is about sessions in php5
I'm having 2 windows XP (Operating systems) on drive C and D
The session work correctly on the first windows, but while trying (the same script) on the other windows I get the following detailed problem:
1. the session is created at the first page and I can echo it ...
Code: Select all
<?php
session_start();
$_SESSION['hi']= "Hello!";
echo "The session hi contain ".$_SESSION['hi'];
?>2. when I check for that session I created from another page it says its unset and return nothing ....
Code: Select all
<?php
session_start();
if (isset($_SESSION['hi']))
echo "set !";
if (!isset($_SESSION['hi']))
echo "not set !";
echo $_SESSION['hi'];
?>any suggestions ?!? is there anything I can do in the setting to use session on windows ?!
please help