Browser Tools (BT)
Developer Documentation Pages

c c++ j JS p vb <<-- -->>

CookieSet()

  Given a name and value (at least), sets a cookie on the client
  machine


Parameters:
      name        Name of the cookie
      value       Value of the cookie
      [expires]   Expiration date of the cookie. If not provided will
                  default to the end of the current session
      [path]      path for which the cookie is valid. should be set to
                  '/' to include the whole site. Defaults to the path
                  of the calling document.
      [domain]    Domain for which the cookie is valid (defaults to
                  the domain of the calling document.
      [secure]    True if cookie requires secure transmission


Headers:
    bt.jso


Return value:


Comment:
      1. A parm defaults when it is assigned null as a placeholder.
      2. No null placeholder is required for trailing omitted arguments



Examples:


See Also:


Test:


History:
    20010415    DJR         Created

© Copyright 2001-2002, Creativyst, Inc., All rights are reserved.


[ Toc (bt)]