Main cookie object interface for use by consumers: extends nsICookie, a frozen interface for external access of cookie objects
[scriptable, uuid(736619fe-8d09-4e59-8223-32f176c22977)]
interface nsICookie2 : nsICookie
Attributes
the actual expiry time of the cookie, in seconds since midnight (00:00:00), January 1, 1970 UTC. this is distinct from nsICookie::expires, which has different and obsolete semantics.
readonly attribute
PRInt64
expiry
true if the cookie is an http only cookie
readonly attribute
boolean
isHttpOnly
true if the cookie is a session cookie. note that expiry time will also be honored for session cookies (see below); thus, whichever is the more restrictive of the two will take effect.
readonly attribute
boolean
isSession
the host (possibly fully qualified) of the cookie, without a leading dot to represent if it is a domain cookie.
readonly attribute
AUTF8String
rawHost
Compare to: