// file1 code
<?
session_start();
$SESSION["sess1"] = "first session data";
?>
// file2 code
<?
session_start();
echo "Session1 var: ".$SESSION["sess1"];
?>
if file2 is called by file1 via a java non html menu then file2 creates a new session without the variables. Thus one cannot make use of the session variables when using java menus, which i would like to do of course.
Any one have an answer?