when i click logout in left.php. it will goto login.php page.
<a href="logout.php" target="_parent">
the right.php have a auto refresh function. when the page session expiry, the page will goto login.php also.
But the problem is the login.php page only will display in right.php.
i have try use
Code: Select all
<?php
header("location: login.php");
?>Code: Select all
<?php
echo'
<script language="JavaScript1.2">
window.location.target = "_parent"
window.location.href = "http://'.$root_path.'/login.php" ; </script>
';
?>thank for reply