nsICookie2

The nsICookie2 interface provides information about a cookie, and extends the nsICookie interface.

Please add a summary to this article.
  Last changed in Gecko 1.9.2 (Firefox 3.6 / Thunderbird 3.1 / Fennec 1.0)

Inherits from: nsICookie

Attributes

Attribute Type Description
creationTime PRInt64 The creation time of the cookie, in microseconds since midnight (00:00:00), January 1, 1970 UTC. Read only.
expiry PRInt64 The actual expiry time of the cookie, in seconds since midnight (00:00:00), January 1, 1970 UTC. (where 0 does not represent a session cookie). Read only.
isHttpOnly boolean true if the cookie is an http only cookie. Read only.
isSession boolean

true if the cookie is a session cookie.

Note: That expiry time will also be honored for session cookies; thus, whichever is the more restrictive of the two will take effect.
Read only.
lastAccessed PRInt64

The last time the cookie was accessed, in microseconds since midnight (00:00:00) on January 1, 1970 UTC. "Accessed" means creation, modification, or reading by the server.

Note: This time may be approximate.
Read only.
rawHost AUTF8String The host (possibly fully qualified) of the cookie, without a leading dot to represent if it is a domain cookie. Read only.

See also

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh, Ehsan, Brettz9, Ayhfung
 Last updated by: Sheppy,