Child pages
  • Cookie
Skip to end of metadata
Go to start of metadata

Refresh page Mar 28, 2024 09:52

Supported Clients
SmartClient WebClient NGClient

Methods Summary
String getDomain() Returns the cookie domain.
String getName() Returns the cookie name.
String getPath() Returns the cookie path.
Boolean getSecure() Returns the cookie secure attribute.
String getValue() Returns the cookie value.

Methods Details
Returns the cookie domain.

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

var cookie = client.getCookie('cookieName')
var domain = cookie.getDomain();
Returns the cookie name.

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

var cookie = client.getCookie('cookieName')
var name = cookie.getName();
Returns the cookie path.

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

var cookie = client.getCookie('cookieName')
var path = cookie.getPath();
Returns the cookie secure attribute.

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

var cookie = client.getCookie('cookieName')
var path = cookie.getSecure();
Returns the cookie value.

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

var cookie = client.getCookie('cookieName')
var value = cookie.getValue();

  • No labels