Cookie comment.
Specifies a comment that describes a cookie's purpose. |
|
|
Supported Clients SmartClient,WebClient,NGClient |
|
|
Sample var cookie = plugins.rest_ws.createCookie('chocolate', 'chip');
cookie.comment = 'yummy'; |
|
|
|
|
Cookie domain.
Specifies the domain within which this cookie should be presented. |
|
|
Supported Clients SmartClient,WebClient,NGClient |
|
|
Sample var cookie = plugins.rest_ws.createCookie('chocolate', 'chip');
cookie.domain = 'example.com'; |
|
|
|
|
Cookie httpOnly flag.
Marks or unmarks this Cookie as HttpOnly |
|
|
Supported Clients SmartClient,WebClient,NGClient |
|
|
Sample var cookie = plugins.rest_ws.createCookie('chocolate', 'chip');
cookie.httpOnly = true; |
|
|
|
|
Cookie maxAge.
Sets the maximum age in seconds for this Cookie. |
|
|
Supported Clients SmartClient,WebClient,NGClient |
|
|
Sample var cookie = plugins.rest_ws.createCookie('chocolate', 'chip');
cookie.maxAge = 3600; |
|
|
|
|
Cookie name.
The cookie name allows only a sequence of non-special, non-white space characters, see
the cookie spec https://tools.ietf.org/html/rfc2965 |
|
|
Supported Clients SmartClient,WebClient,NGClient |
|
|
Sample var cookie = plugins.rest_ws.createCookie('chocolate', 'chip');
cookie.name = 'doublechocolate'; |
|
|
|
|
Cookie path.
Specifies a path for the cookie to which the client should return the cookie. |
|
|
Supported Clients SmartClient,WebClient,NGClient |
|
|
Sample var cookie = plugins.rest_ws.createCookie('chocolate', 'chip');
cookie.path = '/subfolder'; |
|
|
|
|
Cookie secure flag.
Indicates to the browser whether the cookie should only be sent using a secure protocol, such as HTTPS or SSL. |
|
|
Supported Clients SmartClient,WebClient,NGClient |
|
|
Sample var cookie = plugins.rest_ws.createCookie('chocolate', 'chip');
cookie.secure = true; |
|
|
|
|
Cookie value.
The cookie value allows only a sequence of non-special, non-white space characters, see
the cookie spec https://tools.ietf.org/html/rfc2965 |
|
|
Supported Clients SmartClient,WebClient,NGClient |
|
|
Sample var cookie = plugins.rest_ws.createCookie('chocolate', 'chip');
cookie.value = 'mint'; |
|
|
|
|
Cookie version.
Sets the version of the cookie protocol that this Cookie complies with. |
|
|
Supported Clients SmartClient,WebClient,NGClient |
|
|
Sample var cookie = plugins.rest_ws.createCookie('chocolate', 'chip');
cookie.version = 1; |
|
|
|
|
|