nsICookie

Attributes

name

the name of the cookie

value

the cookie value

isDomain

true if the cookie is a domain cookie, false otherwise

host

the host (possibly fully qualified) of the cookie

path

the path pertaining to the cookie

isSecure

true if the cookie was transmitted over ssl, false otherwise

expires

@DEPRECATED use nsICookie2.expiry and nsICookie2.isSession instead.

expiration time in seconds since midnight (00:00:00), January 1, 1970 UTC.
expires = 0 represents a session cookie.
expires = 1 represents an expiration time earlier than Jan 1, 1970.

status

policy

Constants

STATUS_UNKNOWN

@DEPRECATED status implementation will return STATUS_UNKNOWN in all cases.

STATUS_ACCEPTED

STATUS_DOWNGRADED

STATUS_FLAGGED

STATUS_REJECTED

POLICY_UNKNOWN

@DEPRECATED policy implementation will return POLICY_UNKNOWN in all cases.

POLICY_NONE

POLICY_NO_CONSENT

POLICY_IMPLICIT_CONSENT

POLICY_EXPLICIT_CONSENT

POLICY_NO_II