CookieManager.setPersistentStorage
void setPersistentStorage(string filename, webkit.types.CookiePersistentStorage storage)Set non-session cookies.
Set the filename where non-session cookies are stored persistently using storage as the format to read/write the cookies. Cookies are initially read from filename to create an initial set of cookies. Then, non-session cookies will be written to filename when the WebKitCookieManager::changed signal is emitted. By default, cookie_manager doesn't store the cookies persistently, so you need to call this method to keep cookies saved across sessions.
This method should never be called on a #WebKitCookieManager associated to an ephemeral #WebKitWebsiteDataManager.
Parameters
filename | the filename to read to/write from |
storage | a #WebKitCookiePersistentStorage |