Hi guys im having a little problem with a script im doing, hoping if anyone has any ideas. Basically i set a cookie earlier on in my script, and im now on a page which i want to display if the user has the cookie, if the cookie is not there, i want them 2 be rediected to a diffeent page (signin.php)
here is my script so far:
echo "you are signed in";
header ( "Location: signin.php" ); }
<br />Click <a href="signout.php">here</a> to log out
It seems fine except that whe the cookie is not set, it doesnt redirect, bit pointless!
thanx i advaced