Incognito mode and cookies
Posted: Mon Apr 19, 2021 9:34 am
In the 90 version in incognito mode, I can't get cookies, what has changed, what needs to be corrected?
On version 89.0.18 (89.0.4389.114) everything worked.
On version 89.0.18 (89.0.4389.114) everything worked.
Code: Select all
procedure TCookieVisitorFrm.FormShow(Sender: TObject);
var
TempContext : ICefRequestContext;
begin
// GlobalCEFApp.GlobalContextInitialized has to be TRUE before creating any browser
// If it's not initialized yet, we use a simple timer to create the browser later.
//if not(Chromium1.CreateBrowser(CEFWindowParent1, '')) then Timer1.Enabled := True;
TempContext := TCefRequestContextRef.New('', '', '', True, False, False, False);
Chromium1.CreateBrowser(CEFWindowParent1, '', TempContext);
end;