httpCreateCookie

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

Availability

This routine is available starting with SIL Engine™ 4.1.0.

Syntax

httpCreateCookie(name, value)

Description

Creates an HttpCookie object.

Parameters

Parameter name

Type

Required

Description

name

string

Yes

The name of the cookie.

valuestringYesThe value of the cookie.

Return type

HttpCookie

Example

HttpRequest request;
HttpCookie cookie = httpCreateCookie("sessionId", "298zf09hf012fh2");
request.cookies += cookie;

See also