RequestContext authorization fails
Posted: Sun Jul 12, 2020 3:56 pm
Hi, I recently updated from 79 to 83 version of chromium, I noticed that the site has become does not remember authorization, this problem only occurs if I don't set the global cache GlobalCEFApp.Cache.
I set it just before creating the browser instance
How to solve this problem? In the 79th version, there was no such problem.
I set it just before creating the browser instance
Code: Select all
var Chromium1: TChromium;
CEFWindowParent1: TCEFWindowParent;
rct: ICefRequestContext;
CEFWindowParent1 := TCEFWindowParent.Create(panel);
CEFWindowParent1.Parent := panel;
CEFWindowParent1.Align := alClient;
Chromium1 := TChromium.Create(panel);
rct := TCefRequestContextRef.New('D:\TestCache', '', false, false, false);
Chromium1.CreateBrowser(CEFWindowParent1, '', rct);