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 28 Next »

Refresh page Apr 30, 2024 17:54

Supported Clients
SmartClient WebClient NGClient

Methods Summary
String getComment() Returns the cookie comment.
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 comment.

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

var cookie = client.getCookie('cookieName')
var path = cookie.getComment();
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