note 8592 deleted from setcookie by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Wed, 20 Sep 2000 11:18:12 +0000 |
| Subject: | note 8592 deleted from setcookie by jmcastagnetto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5228@lists.php.net to get a copy of this message | ||
I have set the following cookie in a php page:
$lifetime = mktime(12, 50, 30, 6, 20, 2010);
setcookie("CustomCustomer", $custom_customer, $lifetime);
The cookie does indeed get set and can be called and displayed on the page. However, when I kill
Netscape and then start up Netscape again, the cookie is removed. It seems as though it is not
handling the expiration properly. I've tired all sorts of variations of the above example with
no success.
Any advice would be greatly appreciated.
Thanks.
Chris