clear cookies
/// <summary> /// clear cookies /// </summary> /// <param name="Cookie"></param> public void RemoveCookies(string Cookie) { HttpCookie cook = Request.Cookies[Cookie]; cook.Expires = DateTime.Now.AddDays(-1); cook.Values.Clear(); System.Web.HttpContext.Current.Response.Cookies.Set(cook); }