cookiemanager class : DeleteCookies(string,string) method

Description

Deletes cookies with the specified name associated with the specified URL.

Syntax

instance.DeleteCookies(string url, string name)

Arguments

ClassNameDescription
stringurlURL.
stringnameCookie name.

Return value

None.

Sample code

1:

cookiemanager cm;

2:

cm.DeleteCookies("http://example.com", "example");

Notes

It deletes cookies that matches the specified name. There can be multiple cookies with the same name.

It affects all browsers.

Links for reference

None.

Copyright © Cooker All rights reserved.