CURL supports saving cookies to a file, with the --cookie-jar=path option. Then you tell CURL to use that file when loading pages, with the --cookie=path option. It would be nice to be able to specify the path to webkit-gtk and have it handle it. I don't know C/C++, but it seems like there cookiejar support in WebKit/WebCore/platform/network/curl thanks
*** This bug has been marked as a duplicate of 14730 ***