CODE below is of the two files in the 2 different folders
The variable $val is registered in "f1_file1.php" and
gets printed in "f1_file2.php"
BUT NOT IN "f2_file1.php"
Tell me what is wrong here ?
I am using php4, Apache, windows95
===================================
FOLDER: /www/session/f1/
FILE: "f1_file1.php"
<?session_start();
$val="Hello val";
session_register("val");
echo "session registered";
?>
FILE: "f1_file2.php"
<?session_start();
echo "displaying session val in SAME FOLDER below<br>";
echo $val;
?>
=====================================
FOLDER: /www/session/f2/
FILE: "f2_file1.php"
<?session_start();
echo "displaying session val in DIFFERENT FOLDER below<br>";
echo $val;
?>
======================================