note 11508 deleted from function.header by jimw
| From: | jimw@php.net | Date: | Wed, 31 Oct 2001 21:47:29 +0000 |
| Subject: | note 11508 deleted from function.header by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19763@lists.php.net to get a copy of this message | ||
Using header to set a session cookie
(because our legacy CGI programs can't
urldecode the cookies that PHP is
urlencoding), the following works in
Navigator, but not IE:
header("Set-Cookie: u=$u; expires=0; path=/;");
For something that works in IE as well
as Navigator, use:
header("Set-Cookie: u=$u; path=/;");