Public Attributes

nsICookie Interface Reference

import "nsICookie.idl";

Inheritance diagram for nsICookie:

List of all members.

Public Attributes

readonly attribute ACString name
 the name of the cookie
readonly attribute ACString value
 the cookie value
readonly attribute boolean isDomain
 true if the cookie is a domain cookie, false otherwise
readonly attribute AUTF8String host
 the host (possibly fully qualified) of the cookie
readonly attribute AUTF8String path
 the path pertaining to the cookie
readonly attribute boolean isSecure
 true if the cookie was transmitted over ssl, false otherwise
readonly attribute PRUint64 expires
 use nsICookie2.expiry and nsICookie2.isSession instead.
const nsCookieStatus STATUS_UNKNOWN = 0
 status implementation will return STATUS_UNKNOWN in all cases.
const nsCookieStatus STATUS_ACCEPTED = 1
const nsCookieStatus STATUS_DOWNGRADED = 2
const nsCookieStatus STATUS_FLAGGED = 3
const nsCookieStatus STATUS_REJECTED = 4
readonly attribute nsCookieStatus status
const nsCookiePolicy POLICY_UNKNOWN = 0
 policy implementation will return POLICY_UNKNOWN in all cases.
const nsCookiePolicy POLICY_NONE = 1
const nsCookiePolicy POLICY_NO_CONSENT = 2
const nsCookiePolicy POLICY_IMPLICIT_CONSENT = 3
const nsCookiePolicy POLICY_EXPLICIT_CONSENT = 4
const nsCookiePolicy POLICY_NO_II = 5
readonly attribute nsCookiePolicy policy

Member Data Documentation

readonly attribute PRUint64 nsICookie::expires

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.

readonly attribute AUTF8String nsICookie::host

the host (possibly fully qualified) of the cookie

readonly attribute boolean nsICookie::isDomain

true if the cookie is a domain cookie, false otherwise

readonly attribute boolean nsICookie::isSecure

true if the cookie was transmitted over ssl, false otherwise

readonly attribute ACString nsICookie::name

the name of the cookie

readonly attribute AUTF8String nsICookie::path

the path pertaining to the cookie

readonly attribute nsCookiePolicy nsICookie::policy

policy implementation will return POLICY_UNKNOWN in all cases.

readonly attribute nsCookieStatus nsICookie::status

status implementation will return STATUS_UNKNOWN in all cases.

readonly attribute ACString nsICookie::value

the cookie value


The documentation for this interface was generated from the following file: