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.
nsICookieStorage
| IID: | c8c05100-cfdb-11d2-bab8-b088e084e5bc |
| Inherits From: | nsISupports |
Methods
void getCookie ( char* cookieURL , voidPtr* cookieBuffer , PRUint32Ref cookieSize )
void setCookie ( char* cookieURL , constVoidPtr* cookieBuffer , PRUint32 cookieSize )
void getCookie ( char* cookieURL , voidPtr* cookieBuffer , PRUint32Ref cookieSize )
Retrieves a cookie from the browser's persistent cookie store.
- Arguments:
- cookieURL: - URL string to look up cookie with.
- cookieBuffer: - buffer large enough to accomodate cookie data.
- cookieSize: - on input, size of the cookie buffer, on output cookie's size.
void setCookie ( char* cookieURL , constVoidPtr* cookieBuffer , PRUint32 cookieSize )
Stores a cookie in the browser's persistent cookie store.
- Arguments:
- cookieURL: - URL string store cookie with.
- cookieBuffer: - buffer containing cookie data.
- cookieSize: - specifies size of cookie data.
Reference documentation is generated from Mozilla's source.
