Hi Gustavo,
You need to create a new "request context" for each tab.
The MDIBrowser demo can do that for each child form as you can see 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.
You would have to copy that code to the TMainForm.AddTabBtnClick procedure in the TabbedBrowser demo, before the TChromium.CreateBrowser call.
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 Isolate browser cookies?
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact: