note 29480 added to function.setcookie
| From: | jonathan at entechnevision dot com | Date: | Fri, 14 Feb 2003 15:59:14 +0000 |
| Subject: | note 29480 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-43941@lists.php.net to get a copy of this message | ||
I'm setting a cookie like this:
setcookie("lang", "en", time()+(3600*24*60));
But when I'm trying to 'update' the value for another 'lang' it does work
for: IE6 on a PC, Netscape7 on PC and Mac.
But with IE5.2 on Mac. The value stay to the first one stored and never update itself. I have try to
put:
setcookie ('lang', '', (time () - 3600));
To empty the cookie... but nothing. Anybody know a way to bypass this IE:mac problem?
--
http://www.php.net/manual/en/function.setcookie.php
http://master.php.net/manage/user-notes.php?action=edit+29480
http://master.php.net/manage/user-notes.php?action=delete+29480
http://master.php.net/manage/user-notes.php?action=reject+29480