Forum Moderators: coopster
I read around as best as i could and i couldn't determine much. All i can think of that works as an explaination is the php script before the redirect intereferes but im not sure how.
Was wandering if anyone could explains whats going on and how to fix it. I'd like to keep my options within php. Meaning avoid javascript redirect ;)
<?php
session_start(); //start session
if($_SESSION['login'])
{
Quote:
header("Location: loggedin.php");
}
else
{?>
//display webpage
<?php
}
?>
P.S. Kinda new so sorry if i didnt' post it in the best format ever