Hi all... I am working on a site that has been set up using frames, basically the top frame holds some menu items and a 'close window' button, this obviously does as the name suggests... Unfortunately a few issues. When I log in in the bottom frame the top frame log out button doesn't display, UNTIL I refresh the whole window... Anyone know how I can make this refresh both frames when the user logs in?
PHP Code:
<?php session_start(); ?>
<?php
if ($_SESSION['blnUserLoggedIn'] == true)
{
?>
<a href="logout.php" onMouseOver="MM_swapImage('Image222','','images/log_out_1.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/log_out_0.gif" name="Image222" width="46" height="17" border="0" id="Image222"> </a>
<?
}
else
{
?>
<a href="javascript:top.window.close()" onMouseOver="MM_swapImage('Image1','','images/close_window_on.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/close_window_off.gif" name="Image1" width="94" height="17" border="0" id="Image1"> </a>
<?
}
?>