Any idea why session get's id, but i can't set variables to http_session_vars?
Structure is:
////index.php
<html>
<head></head>
<frameset rows="1,*">
<frame name="top" src="empty.php" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize>
<?if($HTTP_SESSION_VARS['theId'] != "") {?>
<frame name="main" src="front2.php" marginwidth="0" marginheight="0" scrolling="auto" frameborder="0" noresize>
<?} else {?>
<frame name="main" src="front.php" marginwidth="0" marginheight="0" scrolling="auto" frameborder="0" noresize>
<?}?>
</frameset>
</html>
////index.php //
// front.php
<?
if(!isset($PHPSESSID))
{
session_start();
session_id();
}
?>
<html>
<head></head>
<body>
<a href="otherPage.php?Lid=1" target="top">LINK</a>
<a href="otherPage.php?Lid=2" target="top">LINK2</a>
</body>
</html>
// front.php //
// otherPage.php
<html>
<head></head>
<body>
<?
$HTTP_SESSION_VARS['theId'] = $Lid;
?>
<script language="javascript">
parent.location = 'index.php';
// or
// window.location.href = 'index.php?PHPSESSID=<?echo $PHPHSESSID?>';
</script>
</body>
</html>