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 !
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Two browsers / same app ?
- salvadordf
- Posts: 4565
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Two browsers / same app ?
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.
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.
-
- Posts: 513
- Joined: Thu Aug 10, 2017 12:40 pm
Re: Two browsers / same app ?
Very nice, thank you ! 
