salvadordf wrote: Sun Dec 09, 2018 2:22 pm
Hitman wrote: Sun Dec 09, 2018 1:10 pmcan you please tell how do i free the running TChromium and create a new one?
There are 5 demos that create and destroy browsers at run-time : MDIBrowser, MDIExternalPumpBrowser, TabbedBrowser, ToolBoxBrowser and FMXToolBoxBrowser.
Please, use
MDIBrowser as the template for your application and modify
TChildForm.FormShow to always create a new request context with a different cache directory for each new child browser.
You can also use the other 4 demos but you would need to add the code to create a new request context.
Thanks for the response!
I can't use MDIBrowser because it doesn't serve my purpose
We already know,
the problem is with the history during use which we need to fix.
So,
when the browser is running, we do the refresh after being inactive for let's say 2 minutes. The question is,
how do we refresh the browser with out having the history and cache?
I have already tested,
restarting the browser (close and re-open), terminates both the cache and the history. The goal is to be able to terminate the history and cache without closing and re-opening the browser.
Please keep in mind, we do not want cache, we do not want history, we do not want any folders to store those either.
Once more,
how can we refresh the browser with out loading cache and history?
can you please make a demo?
a demo which has only few lines of code, has nothing extra in it.