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.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com