[PHP] easy cookie question

2001-09-13 Thread Jay Paulson
How do you set a cookie not to ever expire even after the browser is closed? I've tried the following: setcookie(cookie,value); and when you close the browser it has to set the cookie again, which i don't want it to do. Thanks, jay -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] easy cookie question

2001-09-13 Thread Kelly Barrett
To: [EMAIL PROTECTED] Subject: [PHP] easy cookie question How do you set a cookie not to ever expire even after the browser is closed? I've tried the following: setcookie(cookie,value); and when you close the browser it has to set the cookie again, which i don't want it to do

Re: [PHP] easy cookie question

2001-09-13 Thread Alexander Skwar
So sprach »Jay Paulson« am 2001-09-13 um 15:13:15 -0500 : How do you set a cookie not to ever expire even after the browser is closed? You don't. All you can do is to set it for a VERY long time (max: 37 years now, I suppose). The third parameter sets when the cookie is to expire. -