What's the correct way to isolate cookies / users in Chrome's built-in browser?

I have searched for days with no solution to the problem.

I need multiple instances of Chromium in one application and each of these instances is registered on the same site with a different account (ex: outlook.com).

I tried this solution , but there is no "OnGetCookieManager" event in newer DECF3. Apparently there was a link related bug and the onGetCookieManager event was removed in 1547 CeF3 .

I tried this one but it doesn't work either.

Is it really possible? How?

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

+3


source to share


1 answer


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



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

+2


source







All Articles