Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

BollywooD

macrumors 6502
Original poster
Apr 27, 2005
374
47
Hamburg
I am posingasclass for NSHTTPCookieStorage, and are trying to block
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.