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
httpOnly boolean required boolean
secure boolean required boolean
sameSite SameSite  
maxAge number required int
comment string  
expiry number  
Properties inherited from Cookie
path string  
name string  
version number required int
value string  
domain string  

Example

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