1

With the recent breaking changes in Chromium framework and CEF the method ICookieManager.SetStoragePath() has been removed. I didn't find the way how to set this path properly now. I need to set it once for all cookies, and previously I was using the following start-up code:

        var settings = new CefSettings();
        settings.CefCommandLineArgs.Add("disable-gpu", "1");

        Cef.Initialize(settings);

        Cef.GetGlobalCookieManager().SetStoragePath(this.pipeName, true);

What is the expected way of setting this path now?

Alexander Galkin
  • 12,086
  • 12
  • 63
  • 115
  • 1
    https://bitbucket.org/chromiumembedded/cef/issues/2622/implement-support-for-networkservice#comment-51303489 – amaitland Oct 09 '19 at 19:59
  • You need to set the CachePath to persist cookies https://github.com/cefsharp/CefSharp.MinimalExample/blob/cefsharp/75/CefSharp.MinimalExample.WinForms/Program.cs#L27 – amaitland Oct 09 '19 at 20:10

0 Answers0