Availability
This routine is available starting with katl-commons 4.0.17
Syntax
httpCreateCookie(name, value)
Description
Creates a HttpCookie object.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
name | string | Yes | The name of the cookie. |
value | string | Yes | The value of the cookie. |
Return type
HttpCookie
Example
HttpRequest request; HttpCookie cookie = httpCreateCookie("sessionId", "298zf09hf012fh2"); request.cookies += cookie;
See also