Re: Setcookie - how to overwrite cookie if the user exit the browser?

From: Date: Wed, 23 Aug 2000 09:41:41 +0000
Subject: Re: Setcookie - how to overwrite cookie if the user exit the browser?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-13123@lists.php.net to get a copy of this message
is there a way to limit cookies to expire if the user exits the browser?
If, when creating the cookie, you do not specify an expiry time, the cookie will be valid only for the life of the browser session. So, when browser is closed, cookie is automatically deleted. - Julie +------------------------------------------------+
| Julie Meloni (jcm@i2ii.com)                    |
| Tech. Director, i2i Interactive (www.i2ii.com) |
|                                                |
|      "PHP Essentials" & "PHP Fast & Easy"      |
|            http://www.thickbook.com/           |
+------------------------------------------------+

« previous php.general (#13123) next »