Re: Subject: Cookies
| From: | Neil Smith | Date: | Sat, 22 Mar 2003 10:32:14 +0000 |
| Subject: | Re: Subject: Cookies | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-19084@lists.php.net to get a copy of this message | ||
Try looking in your C:\\Documents And Settings\username\cookies folder, then sorting the list by domain (you may be running on localhost so it would show up there)
NB : Your setcookie line is broken - please check the syntax, as time()1209600 is not valid PHP!
Cheers,
Neil Smith.
At 04:28 22/03/2003 +0000, you wrote:
From: Trystano@aol.com Message-ID: <1ce.5a251a9.2bad1bfb@aol.com> Date: Fri, 21 Mar 2003 20:52:59 EST To: php-windows@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Cookies Hi, where can I locate a cookie that I set through my PHP script. I use the following line: setcookie("username", $name, time()1209600); ...with the $name variable being "Tryst" for example. I've search my Computer (Windows XP) and can't find the cookie. I've seached for the word "Username" and "Cookie", but the results from Cookie display all other cookies on my computer and not the one that I supposedly set. But, if I use $user = $_COOKIE["username"]; I get the value "Tryst" stored in the variable, which means the cookie must be getting set. Any ideas where I may have to look for this cookie?? Tryst