A
ad
I use the codes below to clear the cookie["us_id"]:
HttpCookie myCookie = new HttpCookie("us_id");
myCookie.Expires = DateTime.Now.AddDays(-1d);
Response.Cookies.Add(myCookie);
It do well when the cookie is from the web application itself,
But fail to clear when the cookie is form another application, like php.
How can I do?
HttpCookie myCookie = new HttpCookie("us_id");
myCookie.Expires = DateTime.Now.AddDays(-1d);
Response.Cookies.Add(myCookie);
It do well when the cookie is from the web application itself,
But fail to clear when the cookie is form another application, like php.
How can I do?