salvadordf / CEF4Delphi

CEF4Delphi is an open source project to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC for Windows, Linux and MacOS.
https://www.briskbard.com/forum/
Other
1.2k stars 365 forks source link

GlobalCEFApp.DeleteCache deletes the cookies too #430

Closed salvadordf closed 2 years ago

salvadordf commented 2 years ago

Calling GlobalCEFApp.DeleteCache also deletes the cookies.

It seems that Chromium moved the cookies DDBB to the Cache\Network directory.

https://www.briskbard.com/forum/viewtopic.php?f=10&t=2004

Workaround : Use ClearDataForOrigin instead TChromiumCore.ClearDataForOrigin('*', TCefClearDataStorageTypes.cdstCacheStorage);