Browsers with different request contexts can't share the same cache and cookies directory.Check that the proxy server that shows a 407 error allows you to have multiple sessions with the same username and password.If you get a 407, set a breakpoint at the TChromium.doOnGetAuthCredentials procedure and check that the nt function is called with the right username and password. Set the proxy settings in all your browsers.All of them told me that I was using an IP from Brazil, not from Spain. Then I opened several child windows and visited some websites that show your IP. override it in the TChromium.CreateBrowser functionĬhromium1.CreateBrowser(CEFWindowParent1, '', TempContext) In case you used a custom cookies path in the GlobalCEFApp you can TempContext := TCefRequestContextRef.New('', '', False, False, False, False)Ĭhromium1.ProxyType := CEF_PROXYTYPE_FIXED_SERVERS Ĭhromium1.ProxyServer := '189.102.74.134' If you use an empty cache path, CEF will use in-memory cache. IgnoreCertificateErrors and EnableNetSecurityExpiration cache, AcceptLanguageList, PersistSessionCookies, PersistUserPreferences, The new request context overrides several GlobalCEFApp properties like : Code: Select all procedure TChildForm.FormShow(Sender: TObject)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |