Hi there,
I'm developing a login-system for my brandnew site. Users may login and then two cookies are saved, one containing username and one with password (md5-encrypted).
I want to make a page for logging out. On that page, I want to "reset" or rather "unset" my cookie. How do I do it? I tried doing this:
1.) setcookie("mycookie");
2.) setcookie("mycookie", "");
3.) setcookie("mycookie", "", 0, "", "", 0);
4.) unset($mycookie);
But they don't work! Giving the cookie another value causes no problem, but I cannot throw-away the cookie!
Can anybody help me? TIA.
Greetz,
Vincent Driessen
Venlo, The Netherlands