Visit Mozilla.org

nsICookie2

From MDC


The nsICookie2 interface is used by consumers. It is an interface for external access of cookie objects.

Contents

nsICookie2 is defined in netwerk/cookie/public/nsICookie2.idl. It is scriptable and has been frozen since Mozilla 1.9.

Inherits from: nsICookie

[edit] Attributes

Attribute Type Description
rawHost AUTF8String The host (possibly fully qualified) of the cookie without a leading dot to represent if it is a domain cookie. Read only.
isSession boolean True if the cookie is a session cookie. Read only.
expiry PRInt64 the actual expiry time of the cookie (where 0 does not represent a session cookie). Read only.
isHttpOnly boolean True if the cookie is an http only cookie. Read only.

[edit] See also