how to remove HTTP_COOKIE cookie from browser using classic ASP
+1
A:
A cookie is a user's property once it is sent to his computer. you cannot actually remove it manually from his/her computer as this would lead to security flaws. So the solution is using the expire property of a cookie. For example setting the cookie's expires property to a previous or older time, ensures that the browser automatically deletes/discards the cookie. For eg:
myCookie.Expires = DateTime.Now.AddDays(-1d);
loxxy
2010-09-13 17:30:15
How to get name of cookie from request.ServerVariables("HTTP_COOKIE")?
2010-09-13 17:41:05
Request.Cookies["CookieName"]
loxxy
2010-09-13 18:35:51
Please remember to mark answered questions. Its most polite to reward those spending time on your problem.
BerggreenDK
2010-10-15 01:15:06