The nsICookie2
interface provides information about a cookie, and extends the nsICookie
interface.
Inherits from: nsICookie
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 |
Note: That Read only.expiry time will also be honored for session cookies; thus, whichever is the more restrictive of the two will take effect. |
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. |