D4Science D4Science Don't have a D4Science account? Create one Could not find what you are looking for? Contact us.

NewCookie Data Type

Properties
name data type constraints description
secure boolean required boolean
expiry number  
sameSite SameSite  
httpOnly boolean required boolean
maxAge number required int
comment string  
Properties inherited from Cookie
path string  
domain string  
version number required int
value string  
name string  

Example

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