Re: Problems with Setcookies in the IE
| From: | (Richard Lynch) | Date: | Sat, 08 Jul 2000 00:10:22 +0000 |
| Subject: | Re: Problems with Setcookies in the IE | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5492@lists.php.net to get a copy of this message | ||
In article <39662A8D.F4DC4B36@ctyd.com.mx>, jorge@ctyd.com.mx (Jorge
Cisneros Flores) wrote:
> When de page is loaded from the netscape, the command setcookie work
> fine, but if the same page is loaded using IE the command setcookie
> don't work.
If you include a time, include a path as well:
SetCookie('whatever', $whatever, time() + 3600, '/');
Also, if you are trying to do:
SetCookie(...);
header("Location: ");
You'll get the behaviour you describe for some versions of Netscape/IE.
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)