mwiggin1
08-09-2004, 03:28 PM
I need to remove a key from a cookie entirely.
Response.Cookies("cookie")("key") = ""
Leaves an empty key in the key collection.
Response.Cookies("cookie")("key") = ""
Leaves an empty key in the key collection.
|
Click to See Complete Forum and Search --> : Remove a key from a cookie. mwiggin1 08-09-2004, 03:28 PM I need to remove a key from a cookie entirely. Response.Cookies("cookie")("key") = "" Leaves an empty key in the key collection. mwiggin1 08-12-2004, 02:55 PM hmmmm ... no reply. For now I am just checking for empty keys and excluding them. If anyone has a better idea, post here. Thanks! russell 08-13-2004, 02:31 AM That's all you can do. Can't remove it altogether, so checking for an empty string or len(Request.Cookies("MyCookie")) is the best you'll be able to do. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |