Following VB.NET code, helps you to overrite or write a value of a cookie
Dim cookie As HttpCookie = New HttpCookie("UID")
cookie.Value = "myid"
cookie.Expires = #10/12/2005#
Response.Cookies.Add(cookie)
cookie = New HttpCookie("PASS")
cookie.Value = "mypass"
cookie.Expires = #10/12/2005#
Response.Cookies.Add(cookie)
No comments:
Post a Comment