ZennoLab Assemblies Documentation
ClearCookie Method
Example 
ZennoLab.CommandCenter Namespace > Instance Class : ClearCookie Method

Type: System.String

The regular expressions for filtering by domain. If value is null or empty string, then method clears cookies for all domains. The default value is empty string.

Clears the cookies.
Syntax
public void ClearCookie( 
   string domainFilter
)

Parameters

domainFilter

Type: System.String

The regular expressions for filtering by domain. If value is null or empty string, then method clears cookies for all domains. The default value is empty string.

Example
The following example uses the ClearCookie method.
// clear cookie
instance.ClearCookie();
// clear cookie
$instance->ClearCookie();
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

Instance Class
Instance Members
ClearCache Method
ClearProxy Method
LoadCookie Method
SaveCookie Method
SetCookie Method
GetCookie Method