문제

I am using Delphi Chromium Embedded DCEF3. If I run my application locally I am able to store data into Local Storage and retrieve it. If I close the application and run it again, the data is gone because Delphi Chromium Embedded does not seem to retain the data between sessions. Everything works fine if I run the application in Chrome and I know that is because Delphi Chromium Embedded DCEF3 uses files to store information. Do you know how to retain local storage data between sessions?

Thank you very much

도움이 되었습니까?

해결책

Add the following at the end of your unit:

initialization
  CefCache := 'e:\temp\cef';

CefCache will be used at the initialisation of the dcef in ceflib.pas on line 7772.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top