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.

How to configure Multiple Sessions

Post Reply
User avatar
salvadordf
Posts: 4079
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: How to configure Multiple Sessions

Post by salvadordf »

fafaris wrote: Tue Mar 28, 2017 10:49 amHow to configure to work multiple sessions/isolated multiple instanc of TChromium dcef4..? in one form.
That depends on what you mean by "isolated".

If you want several TChromium instances to open the same website and log in with different accounts, then you need to pass a new ICefRequestContext to the CreateBrowserHost inside the TChromium.CreateBrowser function.

I've never done that but Marshall Greenblatt says that it can be done :
http://magpcss.org/ceforum/viewtopic.ph ... 34&p=26095
Post Reply