nsICookie2

IID:d3493503-7854-46ed-8284-8af54a847efb
Inherits From:nsICookie

Main cookie object interface for use by consumers: extends nsICookie, a frozen interface for external access of cookie objects


Properties

readonly PRInt64 expiry

The actual expiry time of the cookie (where 0 does not represent a session cookie).

Not to be confused with expires, an attribute on nsICookie.

readonly PRBool isSession

True if the cookie is a session cookie (note: if true, the expiry time is undefined).

readonly AUTF8String rawHost

The host (possibly fully qualified) of the cookie, without a leading dot to represent if it is a domain cookie.


References

This interface is passed as an argument to the following methods:

nsICookieManager2.findMatchingCookie, nsICookiePermission.canSetCookie

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com