Re: Setcookie not working
| From: | Yasuo Ohgaki | Date: | Fri, 30 Mar 2001 09:22:07 +0000 |
| Subject: | Re: Setcookie not working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46273@lists.php.net to get a copy of this message | ||
Someone on this list mentioned, Internet Explorer does not accept cookie that
has timeout less than 7200 sec from current time. (PC's clock) How about try
longer timeout?
PS: Is this information is correct? Anyone? Correct me if it is wrong info.
--
Yasuo Ohgaki
""Sean Weissensee"" <phpinfo@weissystems.com> wrote in message
news:011e01c0b845$ad8fa3a0$0200a8c0@Win98...
When I use set cookie with an expire value it does not retain the value ?
setcookie ("TestCookie2", "test", $value,time()+3600);
I am using echo $TestCookie2; or
echo $HTTP_COOKIE_VARS["TestCookie2"];
in another page to view the value
Sean Weissensee
Ion Solutions