Share via


createCookie method

Creates a new cookie.

Note  These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.

 

 

Syntax

var retVal = DiagnosticsCookies.createCookie(cookieName);

Parameters

  • cookieName [in]
    Type: DOMString

    Name to use for the cookie.

See also

DiagnosticsCookies