Tutorial: system.flushCookieStore

system.flushCookieStore

Writes any unwritten cookies data to disk.

Example

fin.desktop.System.flushCookieStore(function () {
    console.log("successful");
},function (err) {
    console.log("failure: " + err);
});