COOKIE Question.
| From: | Tom Ray | Date: | Tue, 17 Sep 2002 07:03:36 +0000 |
| Subject: | COOKIE Question. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-116597@lists.php.net to get a copy of this message | ||
I'm having some issue's with $_COOKIE and $HTTP_COOKIE_VARS, I can't seem to retrieve data from them.
First I set the cookie like so:
setcookie ("Access", "Test_Value",time()+31536000);
Then I check my Cookies in Netscape and I can see that I have the cookie stored. But when I go to the page that has
print $HTTP_COOKIE_VARS["Access"];
print $_COOKIE["$Access"];
and even
print "$Access";
I don't get the value set in the cookie, and I don't know why...any help, please?