Cookie Class

The Cookie class of the com.ms.iis.asp package represents a single member of the CookieDictionary collection that is exposed by both the Request and Response objects. The Cookie class exposes the same functionality as the IReadCookie and IWriteCookie interfaces, which are contained in the com.ms.asp package.

public Cookie(com.ms.asp.IreadCookie);
{
  //Methods
  public boolean getHasKeys();
  public wfc.util.IEnumerator getKeys();
  public String getItem(String itemName);
  public java.lang.String getValue();
  public void setDomain(java.lang.String DomainName);
  public void setExpires(wfc.app.Time d);
  public void setItem(java.lang.String name, java.lang.String item);
  public void setPath(java.lang.String path);
  public void setSecure(boolean secure);
  public void setValue(java.lang.String value);
}

© 1999 Microsoft Corporation. All rights reserved. Terms of use.