S
Stimp
hi all,
I'm creating a cookie in the http context as follows:
Dim objCookie As HttpCookie = New HttpCookie("UserDetails")
objCookie.Values.Add("UserName", rRow("UserName"))
Response.Cookies.Add(objCookie)
When I try to delete the cookie using:
Response.Cookies.Remove("UserDetails")
it doesn't remove the cookie from the browser cache.
Is this the correct syntax for creation and removal of asp.net cookies?
Thanks,
Peter
I'm creating a cookie in the http context as follows:
Dim objCookie As HttpCookie = New HttpCookie("UserDetails")
objCookie.Values.Add("UserName", rRow("UserName"))
Response.Cookies.Add(objCookie)
When I try to delete the cookie using:
Response.Cookies.Remove("UserDetails")
it doesn't remove the cookie from the browser cache.
Is this the correct syntax for creation and removal of asp.net cookies?
Thanks,
Peter