3

I have searched for days with no solution in sight.

I need multiple Chromium instances in one single application and each of this instance logins to the same site with different account (ex: outlook.com).

I tried this solution but there's no "OnGetCookieManager" event in DECF3 new version. Apparently there was a related bug and event onGetCookieManager was removed in the 1547 CEF3.

I tried this but it doesn't work too.

Is this really possible? How?

I'm using DCEF3 (revision: 0cc175e7a629) and Delphi XE3.

Community
  • 1
  • 1
Geziel
  • 61
  • 3

1 Answers1

2

Here's what CEF3 maintainer told me: "Cookies can be stored globally, per request context or something else entirely. It depends on whether you pass a CefRequestContext to CreateBrowser*() and what you return from CefRequestContextHandler::GetCookieManager."

I'm not entirely sure how CreateBrowser is exposed in Delphi (I only use the C++ API), but I can confirm that GetCookieManager still exists in trunk (as the only method of CefRequestContextHandler).