For AI agents: a documentation index is available at /llms.txt
Skip to main content

StandardCookie

A standard cookie

Properties

PropertyTypeDescription
domainstring | nullCookie domain
expiresnumber | nullCookie expiration date, session cookie if not set
httpOnlyboolean | nullTrue if cookie is http-only
namestringCookie name
pathstring | nullCookie path
sameSiteCookieSameSite | nullCookie SameSite type
secureboolean | nullTrue if cookie is secure
urlstring | nullThe request-URI to associate with the setting of the cookie. This value can affect the default domain, path, source port, and source scheme values of the created cookie
valuestringCookie value
Was this page helpful?