Page 1 of 1
Two browsers / same app ?
Posted: Mon Feb 04, 2019 5:11 pm
by thefunkyjoint
Hello,
Is it possible to run in the same app, two instances of the navigator logged in different accounts in the same website ? If so, how ?
Thanks !
Re: Two browsers / same app ?
Posted: Mon Feb 04, 2019 5:21 pm
by salvadordf
Hi,
Yes, you can create independent browsers if you use new "
request contexts" when you call TChromium.CreateBrowser.
The MDIBrowser demo has all the code to do that here :
https://github.com/salvadordf/CEF4Delph ... m.pas#L201
Use the first parameter in TCefRequestContextRef.New to set a different cache directory for each browser.
Re: Two browsers / same app ?
Posted: Mon Feb 04, 2019 6:05 pm
by thefunkyjoint
Very nice, thank you !
