Icon Clear Method

procedure Clear(const AName: String; const Path: String='';
      const Domain: String=''; Secure: Boolean=False)

Available In: Client Applications

Use this method to clear an existing cookie. The Name parameter is the cookie name, the Path parameter is the relative path under the domain that the cookie applies to, the Domain parameter is the web site domain that the cookie applies to, and the Secure parameter indicates whether the cookie applies to a secure domain/path (https://) or a normal domain/path (http://).

Information Use the Exists method to determine if a cookie exists before trying to clear the cookie.
Image