I have a login php where I prompt the user for a userid and password.
They then click the submit button and it forwards them to a file
In this file I check to see if the login is valid and if so, set a cookie
setcookie("myCookie", "True", time()+3600);
I need this coookie to be carried forward. When the user clicks another
link on the check_login.php page, it takes them to
menu.php. Here I try to read the cookie:
echo "The cookie value is ".$_COOKIE['myCookie'];
There is no value in the cookie and I don't know what I've done wrong.