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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 31 Current »

Refresh page Apr 22, 2024 13:56

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