How to assign a separate folder for storing cookie and cache for each and every Chromium
I used to do it like that:
Code: Select all
String sCookies = "C://qwe/br_1/CookiesDir";
String sCache = "C://qwe/br_1/CacheDir";
_di_ICefRequestContext FRequestContext = TCefRequestContextRef::New(sCache, L"en-US,ru-RU", true, true, true, false);
Chromium->CreateBrowser(CEFWindowParent, "Browser"+IntToStr(i), FRequestContext, sCookies, true);