here's one line from my index.php
session_register("logged-in", "true");
and here's my admin.php's lines:
session_start();
$ses = $_SESSION['logged-in'];
if(!isset($ses) or $ses != "true"){
echo "<script type='text/javascript'>
<!--
window.location = 'index.php'
//-->
</script>";
}
i have no idea why it redirects me back to index.php
maybe you can help me
