WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
@mozilla.org/cookiemanager;1
This component implements the following interfaces:
Properties
readonly nsISimpleEnumerator nsICookieManager.enumerator
Called to enumerate through each cookie in the cookie list. The objects enumerated over are of type nsICookie
Methods
| Interface | Method |
|---|---|
| nsICookieManager2 |
void add ( AUTF8String domain , AUTF8String path , ACString name , ACString value , PRBool isSecure , PRBool isHttpOnly , PRBool isSession , PRInt64 expiry )
|
| nsICookieManager2 |
PRBool cookieExists ( nsICookie2 cookie )
|
| nsICookieManager2 |
PRUint32 countCookiesFromHost ( ACString host )
|
| nsISupportsWeakReference |
nsIWeakReference GetWeakReference ( )
|
| nsICookieManager2 |
void importCookies ( nsIFile cookieFile )
|
| nsICookieManager |
void remove ( AUTF8String domain , ACString name , AUTF8String path , PRBool blocked )
|
| nsICookieManager |
void removeAll ( )
|
Reference documentation is generated from Mozilla's source.
