{
  "synLogic": "int $ret \u003d $api();",
  "help": "The web_cleanup_cookies function removes all the cookies that are currently stored for use by the script.",
  "notes": "Scripts do not use (access or modify) the cookies that are stored by your browser. Instead, each Vuser uses the cookies that are sent to the Vuser by the server host at runtime. These cookies are maintained only while the script runs. The ns-cookie functions (ns_add_cookie_val_ext, ns_remove_cookie, and ns_cleanup_cookies) only manipulate these temporary cookies and do not affect cookies stored by your browser.",
  "returns": "int",
  "arguments": "",
  "parameterization": "Parameterization is not applicable to this function.",
  "name": "ns_cleanup_cookies",
  "syntax": "int ns_cleanup_cookies()",
  "javaSyntax": "int ns_cleanup_cookies()",
  "jsSyntax": "int ns_cleanup_cookies()",
  "cEx": "flow()\n{\n    ns_cleanup_cookies();\n}",
  "javaEx": "public class flow implements NsFlow\n{\n  public int execute(NSApi nsApi) throws Exception\n  {\n    nsApi.ns_cleanup_cookies();\n  }\n}",
  "jsEx": "  nsApi.ns_cleanup_cookies();",
  "insertStrC": "ns_cleanup_cookies();",
  "insertStrJava": "ns_cleanup_cookies();",
  "insertStrJs": "ns_cleanup_cookies();",
  "description": "Removes all cookies currently stored by the Vuser",
  "component": [
    {
      "id": "$ret",
      "type": "TextField",
      "label": "Return Value",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter Return Value",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "labelVarCheckbox": "",
      "argIndex": 0,
      "validate": {
        "inputType": "Text",
        "required": true,
        "method": "isValidVar(arg)"
      }
    }
  ]
}
