Logos DX
    Preparing search index...

    Interface Cookie

    A single RFC 6265-compliant cookie entry. All 11 fields required by RFC 6265 §5.3 storage model.

    interface Cookie {
        creationTime: number;
        domain: string;
        expiryTime: number;
        hostOnlyFlag: boolean;
        httpOnlyFlag: boolean;
        lastAccessTime: number;
        name: string;
        path: string;
        persistentFlag: boolean;
        secureOnlyFlag: boolean;
        value: string;
    }
    Index

    Properties

    creationTime: number

    Creation time as ms epoch

    domain: string

    Canonicalized domain (lowercase, no leading dot)

    expiryTime: number

    Expiry time as ms epoch. Use Infinity for session cookies (persistent-flag = false).

    hostOnlyFlag: boolean

    TRUE = cookie only sent to exact origin host. FALSE = cookie sent to domain and all subdomains.

    httpOnlyFlag: boolean

    TRUE = excluded from non-HTTP API access

    lastAccessTime: number

    Last access time as ms epoch — updated on each retrieval

    name: string

    Cookie name

    path: string

    Cookie path, always starts with "/"

    persistentFlag: boolean

    TRUE if cookie has explicit Expires or Max-Age. FALSE = session cookie, cleared on clearSession().

    secureOnlyFlag: boolean

    TRUE = only sent over HTTPS

    value: string

    Cookie value