Stupid Cookie Question
| From: | nate at 1feehosting dot com | Date: | Tue, 18 Sep 2001 05:46:11 +0000 |
| Subject: | Stupid Cookie Question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-67671@lists.php.net to get a copy of this message | ||
Sorry for having to ask this because i'm sure its a really simple answer...
I set a cookie with the following...
<?php
header("Location: index.php");
SetCookie("password","$password");
SetCookie("cwname","$cwname");
?>
User see's a form with username and password fields. It sets whatever he inputs to cookies. Now
i'm trying to figure out how to delete them! I know you can delete it if you set a negative
time but I never set a time to it in the first place.
Thanks,
Nate