Hi,
I want to set a cookie to null.
how can i do this?
my code:
Response.Cookies["userGeg"]["login"] = login.Text;
Response.Cookies["userGeg"]["pass"] = wachtwoord.Text;
if (Request.Cookies["userGeg"] != null) {
....
}
Response.Cookies["userGeg"]["login"] = null;
Response.Cookies["userGeg"]["pass"] = null;
if (Request.Cookies["userGeg"] == null) { //Doesn't work }
...
Go to the complete details ...