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

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -