Hey again everyone! 🙂
In my frameset (index.php) I have the following on top of the file :
<?
session_start();
if ($language == 'deu') {
$_SESSION['language'] = 'deu';
} elseif ($language == 'eng') {
$_SESSION['language'] = "eng";
} else {
$_SESSION['language'] = "deu";
}
?>
I even pass the PHPSESSID from index.php to the frames that it loads, I do this with :
frame1.php?PHPSESSID=$PHPSESSID ... and so on
This does work, I can see how it puts in the correct session id.
Now I try to read the $_SESSION['language'] on a page in the frameset with :
$session_start();
$language = $_SESSION['language'];
echo $language;
but it is empty, gives no output!
I have called index.php with no parameters, so it should set $_SESSION['language'] to 'deu' - obviously it did not do that.
Have I missed something - or what have I done wrong ?!