Hello.
I need to create 2 CEF application with cookies sync in runtime. Is there any method of CEF4Delphi to edit or add browser cookies? I know that I can change domain cookies with JS but may be it's possible to change all cookies?
Thank you.
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.
Add/Edit cookies
Re: Add/Edit cookies
I have found:
Is it right?
Code: Select all
TempCookieManager := TCefCookieManagerRef.Global(nil);
TempCookieManager.SetCookie(...);
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Add/Edit cookies
I've never done that but I think that should be the way to do it.