Hi,
I'm using session cookies for user administration. Session start and registration of username variable goes smoothly, but when trying to retrieve $username stored is a cookie in another document; it cannot find it.
This is the code:
<?
session_start();
if (!isset($username)){
echo "Please re-log-in";
include 'index.php';
exit;
}
?>
I have tested the code two hours ago and there were no probs, but now suddenly it does not read it.
Should I include something at the end of the session-setting page?
Greetz
Be_ix