Child pages
  • Cookie

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Divcache
Div
iddescription
HTML Table
id
classservoy sSummary
Colgroup Tag
Col
width80px
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Summary
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
getComment()
Returns the cookie comment.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
getDomain()
Returns the cookie domain.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
getName()
Returns the cookie name.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
getPath()
Returns the cookie path.
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
getSecure()
Returns the cookie secure attribute.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
getValue()
Returns the cookie value.
HTML Table
idfunction
classservoy sDetail
Colgroup Tag
Col
colspan2
width100%
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Details
Table Body (tbody)
idgetComment
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
getComment
Span
()
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Returns the cookie comment.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var cookie = client.getCookie('cookieName')
var path = cookie.getComment();
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idgetDomain
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
getDomain
Span
()
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Returns the cookie domain.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var cookie = client.getCookie('cookieName')
var domain = cookie.getDomain();
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idgetName
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
getName
Span
()
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Returns the cookie name.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var cookie = client.getCookie('cookieName')
var name = cookie.getName();
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idgetPath
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
getPath
Span
()
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Returns the cookie path.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var cookie = client.getCookie('cookieName')
var path = cookie.getPath();
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idgetSecure
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Boolean
Span
stylefont-weight: bold;
getSecure
Span
()
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Returns the cookie secure attribute.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Boolean
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var cookie = client.getCookie('cookieName')
var path = cookie.getSecure();
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idgetValue
Table Row (tr)
idname
Table Cell (td)
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
getValue
Span
()
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Returns the cookie value.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var cookie = client.getCookie('cookieName')
var value = cookie.getValue();
Table Row (tr)
classlastDetailRow
Table Cell (td) 
styleindexdisplay:none

DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.

true
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClient

servoy sSummary12%30%58%height: 30px;3Methods SummaryReturns the cookie comment.Returns the cookie domain.Returns the cookie name.Returns the cookie path.Returns the cookie secure attribute.Returns the cookie value.

functionservoy sDetail2100%height:30px2Methods DetailsgetCommentname

getComment()

dessIndent
Returns the cookie comment.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRowgetDomainname

getDomain()

dessIndent
Returns the cookie domain.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getNamename

getName()

dessIndent
Returns the cookie name.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getPathname

getPath()

dessIndent
Returns the cookie path.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getSecurename

getSecure()

dessIndent
Returns the cookie secure attribute.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getValuename

getValue()

dessIndent
Returns the cookie value.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow