https://github.com/salvadordf/CEF4Delph ... .pas#L1213), there is no SetSoragePath function. And I need each tab of the TabControl component to use its own Cookies. In the main function, I set the storage location (GlobalCEFApp.Cache : = ' cef\'+CurUser+'\cache';) if you change the CurUser here, then the Cookies also change, how do you do this during the execution of the program?
This bundle doesn't work either
Code: Select all
GlobalCEFApp.RootCache := 'C:\Program Files (x86)\Embarcadero\Studio\20.0\lib\CEF4Delphi-master\bin\cef';
Code: Select all
procedure TChildForm.FormShow(Sender: TObject);
var
TempContext : ICefRequestContext;
begin
try
if MainForm.NewContextChk.Checked then begin
TempContext := TCefRequestContextRef.New('\User3\cache', '', True, True, True);
end else
TempContext := nil;
Chromium1.CreateBrowser(CEFWindowParent1, '', TempContext);
finally
TempContext := nil;
end;
end;