Cookies in HTMLViewer
On Windows we have a couple of classes for use with WebKit/Chromium. This includes the ChromiumCookieManagerMBS class and the ChromiumCookieMBS class. With AllCookies method you can query all current cookies, save them for later and on the next run add them with SetCookie method.
When using a Mac, you can use the Cocoa classes for cookie management: NSHTTPCookieStorageMBS and NSHTTPCookieMBS class.
The classes for Linux with WebKit look similar: LinuxWebCookieStoreMBS and LinuxWebCookieMBS
As all those classes use WebKit cross platform, they have nearly the same functionality.
Check also other functions like running javascript, extracting text or html from webpages or rendering a picture from website.