cookie handling in WebKit

setting ccokies for an HTTP request in UIWebView was relatively easy compared to WebKit where it seems you have to use JavaScript injection and manually form the cookies. Is there an easier or comparable way to do this with WebKit?

You might try modifying the cookie property on a DOMDocument object containing a web page from the target domain (I haven't tried that do see if it works, mind you), but otherwise... what, exactly, are you trying to do?

cookie handling in WebKit
 
 
Q