Re: COOKIE Question.
| From: | Tom Ray | Date: | Thu, 19 Sep 2002 00:20:55 +0000 |
| Subject: | Re: COOKIE Question. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116814@lists.php.net to get a copy of this message | ||
Discovered my cookie issue. I wasn't setting the path in setcookie() so it defaulted to what ever directory the script ran in. I set it so it loads from the root of the website now, and it's working like a charm.
Thanks to all that helped!
John Holmes wrote:
I do the print $_COOKIE["Acccess]"; and I still don't see any dataprint. Did you typo in your code like you did here?? Try to dump the whole $_COOKIE[] array and see what's in it. print_r($_COOKIE); Did you mention what version of PHP you were using? ---John Holmes...