Dim objCookie As New HttpCookie("UserCredentials") objCookie.Expires = Now.AddDays(-1) Response.Cookies.Add(objCookie) Response.Redirect("signout.aspx")