Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string cookieName = Request.Cookies[0].Name;
- HttpCookie aCookie = new HttpCookie(cookieName);
- aCookie.Expires = DateTime.Now.AddDays(-1);
- Response.Cookies.Add(aCookie);
- Response.Redirect("~/default.aspx");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement