Flush the backing store (if any) to disk.
Flush the backing store (if any) to disk.
Visual Basic |
---|
Public Sub FlushCookiesStore() |
Flush the backing store (if any) to disk.
Private Sub wxDesigner_OnCreate(ByVal Settings As WebKitXCEF3Lib.ISettings, CommandLineSwitches As String) Settings.persist_session_cookies = 1 Settings.persist_user_preferences = 1 Settings.cache_path = App.Path + "\Cache" Settings.local_storage = True End Sub Private Sub wxDesigner_OnPageComplete(ByVal URL As String) Dim Cookies As Variant Cookies = wxDesigner.GetCookies("webkitx.com") wxDesigner.SetCookie "https://www.webkitx.com", "test", "webkitx.com", "/", "test_value", True, True, DateAdd("yyyy", 1, Date) wxDesigner.DeleteCookies "https://www.webkitx.com", "test" wxDesigner.FlushCookiesStore End Sub