I am posingasclass for NSHTTPCookieStorage, and are trying to block
certain cookies.
I have been experimenting with blocking all cookies with following
method:
which works well, except when the cookies are session cookies. All the
session cookies seem to pass through to the NSHTTPCookieStorage.
is there a way to block all cookies, including session cookies?
cheers in advance.
certain cookies.
I have been experimenting with blocking all cookies with following
method:
Code:
- (void)setCookies:(NSArray *)cookies forURL:(NSURL *)theURL
mainDocumentURL:(NSURL *)mainDocumentURL
{
return;
}
which works well, except when the cookies are session cookies. All the
session cookies seem to pass through to the NSHTTPCookieStorage.
is there a way to block all cookies, including session cookies?
cheers in advance.