public void RemoveCookie(string name) { HttpCookie cookie = new HttpCookie(name, ""); cookie.Expires = DateTime.Now.AddYears(-10); cookie.Path = context.ApplicationPath; CreateCookie(cookie); } }