c# - How do you remove HttpOnly cookies? -
if application places httponly cookies on client , needs remove them how can remove them completely?
you can cause cookie expire when user visits website, example:
httpcookie expiredcookie = new httpcookie(cookiename); expiredcookie.expires = datetime.utcnow.adddays(-1); response.cookies.add(expiredcookie);
you'll have every cookie want removed.
Comments
Post a Comment