Hi all, how do you destroy a cookie? I have read up on it and nowhere seems to give a method that works, I set the cookie using this method:
setcookie ( "sessionusername", "$username", time()+86400 );
setcookie ( "sessionpassword", "$password", time()+86400 );
and then 'try' and destroy it using this method:
setcookie ( "sessionusername" );
setcookie ( "sessionpassword" );
I have also tried setting the time into minus figures. Any ideas?
Thanks.