Re: how to delete cookies

From: Date: Wed, 20 Jun 2001 14:30:03 +0000
Subject: Re: how to delete cookies
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-54539@lists.php.net to get a copy of this message
setcookie("cookie_user",""); this will delete the cookie ----- Original Message ----- From: "Tom Beidler" <tom@orbittechservices.com> To: "php list" <php-general@lists.php.net> Sent: Wednesday, June 20, 2001 7:20 AM Subject: [PHP] how to delete cookies > I have a site that is password protected using PHP and MySQL. I would like > to give people the option to log out. I've tried to set the cookie without > setting the time but that only deletes the cookie when the browser session > ends. Is there a way to delete it all together? > > > >>>>.>>.>>>.>>>>>.>>>>>>>>>.>>>>>>>> > Tom Beidler > Orbit Tech Services > 805.682.8972 (phone) > 805.682.5833 (fax) > tom@orbittechservices.com > http://www.orbittechservices.com/ > > >>>>.>>.>>>.>>>>>.>>>>>>>>>.>>>>>>>> > > >

« previous php.general (#54539) next »