Hi all.
I'm trying to delte a cookie and then set it to a new value in a php page. The problem is that once the cookie is set. PHP will not delete it. I use PhP 4. Here is the code...The pgp file name is testcookie.php...so the page goes back to itself again..i'm testing to see my code was allowing me to update the cookie to new values...etc...any ideas??? <?php setcookie("username",""); setcookie("username",$username); ?> <HTML> <BODY> <FORM NAME="FORM" ACTION="./testcookie.php"> Your name:<INPUT TYPE="TEXT" NAME="username"> <INPUT TYPE="submit" NAME="submit" value="submit" </FORM> </BODY> </HTML> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php