Hi All,
I'm having a bit of trouble setting a cookie to store an e-mail address. All my other cookies work fine, but the cookie doesn't get set when I do the following with $loginid containing an e-mail address:
setcookie("UserID", "$loginid", time()+(606024), "/", $Domain, $SecureCookies);
If I hard-code some other value the cookie works. $loginid is passed from a login page, and I use it successfully in a SQL query in the same script.
What am I doing wrong?
Thanks!