Cookie

class

An HTTP cookie.

Summary

Public properties

Domain

string Domain

The domain to which the cookie belongs (e.g. "www.vuplex.com", "example.com").

ExpirationDate

int ExpirationDate

A number representing the expiration date of the cookie as the number of seconds since the UNIX epoch, or 0 if there is no expiration date. An expiration date is not provided for session cookies.

HttpOnly

bool HttpOnly

Indicates whether the cookie is marked as HttpOnly (i.e. the cookie is inaccessible to client-side scripts).

Name

string Name

The name of the cookie.

Path

string Path

The URL path of the cookie (e.g. "/", "/products/1234").

Secure

bool Secure

Indicates whether cookie is marked as secure (i.e. its scope is limited to secure channels, typically HTTPS).

Value

string Value

The value of the cookie.