To set a session cookie (one that is deleted when the browser window is closed) set a cookie without any expire date/time.
To delete a cookie set a cookie of the same name with an expire date in the past. HTH Danny. ----- Original Message ----- From: "Alexander Ross" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 10, 2002 2:43 PM Subject: [PHP] cookies > How can I set a cookie which expires when the borwser is closed?? How can I > delete a cookie via PHP? > > Thanks > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php