You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.
nsICookie
This interface provides a means of accessing information stored in the HTTP or JavaScript cookie object. It is scriptable.
Gets
TRUE
if the cookie is a domain cookie,FALSE
otherwise.Gets the host, possibly fully qualified, of the cookie.
Gets the path pertaining to the cookie.
Gets
TRUE
if the cookie was transmitted over SSL,FALSE
otherwise.Gets the expiration time (local timezone) expressed as the number of seconds since Jan 1, 1970.
Gets the P3P status of cookie. Values returned as
nsCookieStatus
constants below.The cookie was collected in a previous session and this info is no longer available.
The cookie was accepted as is.
The cookie was accepted but downgraded to a session cookie.
The cookie was accepted with a warning being issued to the user.
Gets the compact cookie policy. Values returned as
nsCookiePolicy
constants below.The cookie was collected in a previous session and this info is no longer available.
The site did not send a compact policy along with the cookie.
The site collects identfiable information without user involvement.
The site collects identifiable information unless user opts out.
The site does not collect identifiable information unless user opts in.
Written by:Ellen Evans | Comments, questions, complaints?
Bug 143387 |