setcookie problem
| From: | Mark Lo | Date: | Mon, 02 Jul 2001 16:33:04 +0000 |
| Subject: | setcookie problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-55861@lists.php.net to get a copy of this message | ||
Hi,
How to set a forever cookie into client machine. I use the following
syntax to set the cookie, but when I close the brower's window, then the
cookie is deleted when the browser closed.
setcookie("buyerid",$email,time()+36000000000,"","$domain");
setcookie("buyeridpasswd",$passwd,time()+36000000000,"","$domain");
Thank you for your attentions,
Mark Lo