note 24339 added to function.setcookie
| From: | hughie at hughie dot net | Date: | Tue, 13 Aug 2002 17:26:52 +0000 |
| Subject: | note 24339 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-34945@lists.php.net to get a copy of this message | ||
I Noticed that some versions of IE 6.0 do not hande cookies correctlly. The solution is to quote
the expire time.
SetCookie("visitor",$cookievar,"time()+3600");
I havn't heard of this a lot so I am assuming it is not all releases of IE6, but in attempt to
program for everyone it is a good idea to add the quotes. It can't hurt
--
http://www.php.net/manual/en/function.setcookie.php
http://master.php.net/manage/user-notes.php?action=edit+24339
http://master.php.net/manage/user-notes.php?action=delete+24339
http://master.php.net/manage/user-notes.php?action=reject+24339