RE: [PHP] Cookies
| From: | Nathan Cassano | Date: | Tue, 02 Apr 2002 20:25:09 +0000 |
| Subject: | RE: [PHP] Cookies | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91213@lists.php.net to get a copy of this message | ||
There is no such thing as an "infinite cookie". About the closest thing
to infinity in PHP is year 2038.
setcookie("test", "val", 2147483647);
-----Original Message-----
From: Steffan Harris [mailto:steffan@macunlimited.net]
Sent: Tuesday, April 02, 2002 11:57 AM
To: php-general@lists.php.net
Subject: [PHP] Cookies
hi, is there a way of setting an infinite cookie using PHP? Is there a
special command for it? If not, I suggest adding that function in to
PHP. Thanks,
Steffan