NewCookie Data Type

Properties
name data type description
path string
comment string
httpOnly boolean
version number
domain string
name string
value string
maxAge number
secure boolean
expiry number

Example

{
  "path" : "...",
  "comment" : "...",
  "httpOnly" : true,
  "version" : 12345,
  "domain" : "...",
  "name" : "...",
  "value" : "...",
  "maxAge" : 12345,
  "secure" : true,
  "expiry" : 12345
}