This service can enumerate and remove cookies for a certain domain.
It can currently not add cookies, but this can be achieved through ECMAScript (document.cookie).
Changelog: 1.0 - First release 1.0.1 - Fixed a bug in RemoveCookie where it would remove all cookies, not just in the specified domain. 1.1 - Added AddCookie 1.1.1 - Fixed a bug in GetCookie where the filtering failed.
AddCookie
Add a new cookie, will overwrite exsisting with same domain/name
@param domain Name of domain, e.g. "opera.com" @param name Name of cookie to add @param path (optional, defaults to "/") @param value (optional) Cookie value @param expires (optional) This is seconds since epoch @param isSecure (optional defaults to false) Only use this cookie on secure connections @param isHTTPOnly (optional defaults to false) Only use this cookie for HTTP
command AddCookie( )
returns ( )
= 5;
GetCookie
Retrieve a list of cookies for a given domain.
@param domain Name of domain to look for, e.g. "opera.com" @param path Limit cookie list to specified path or subpath.
command GetCookie( )
returns ( )
= 1;
GetCookieSettings
Get global settings regarding the allowed number of cookies, and the max allowed length a cookie.
command GetCookieSettings( )
returns ( )
= 4;
RemoveAllCookies
Removes all cookies.
command RemoveAllCookies( )
returns ( )
= 3;
RemoveCookie
Removes selected cookies or all cookies in a domain.
@param domain Name of domain to remove cookies from, e.g. "opera.com" @param path If specified only removes cookies from specified path or subpath. @param name Name of cookie to remove, if unspecified removes all cookies matching domain/path.
command RemoveCookie( )
returns ( )
= 2;