Availability
This routine is available starting with SIL Engine™ 4.1.0.
Syntax
httpGetCookie(cookieName)
Package
http
Short Name
getCookie (only when using package)
Description
Retrieves the value of the specified cookie (if existing) from the latest HTTP response.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
cookieName | string | Yes | The name of the cookie. |
Return type
string
Example
string cookieVal = httpGetCookie("sessionToken");
See also