Hello.
If i restart the application, authorisation on a website resets. How to keep it?
I saw similar topic, but i still cant make it.
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.
How to keep web-sites authorisation after application restart
-
- Posts: 44
- Joined: Sun Jul 07, 2019 1:46 pm
- salvadordf
- Posts: 4565
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: How to keep web-sites authorisation after application restart
The cookies are now stored in the same directory as the rest of the cache files.
Set the GlobalCEFApp.cache property to a writable directory before the GlobalCEFApp.StartMainProcess call in the DPR file.
Set the GlobalCEFApp.cache property to a writable directory before the GlobalCEFApp.StartMainProcess call in the DPR file.
-
- Posts: 44
- Joined: Sun Jul 07, 2019 1:46 pm
-
- Posts: 44
- Joined: Sun Jul 07, 2019 1:46 pm
Re: How to keep web-sites authorisation after application restart
I hope, that is the last question.
I run Chromium application from multi threaded procedure of another application.
All running copies of Chromium application has the same cache folder and can run/close at the same time. And, i think, there is a problem. I've got Chrome application not responding with multi-threaded usage way.
Is it possible to run Chromium application (with the same cache folder) from multi-threaded procedure of another application?
I run Chromium application from multi threaded procedure of another application.
All running copies of Chromium application has the same cache folder and can run/close at the same time. And, i think, there is a problem. I've got Chrome application not responding with multi-threaded usage way.
Is it possible to run Chromium application (with the same cache folder) from multi-threaded procedure of another application?
- salvadordf
- Posts: 4565
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: How to keep web-sites authorisation after application restart
It's not possible to run several copies of the same application if all of them use the same cache directory.
If you need several browsers sharing the same cache then create one application that creates multiple browsers, like the TabbedBrowser, ToolBoxBrowser or MDIBrowser demos.
If you need several browsers sharing the same cache then create one application that creates multiple browsers, like the TabbedBrowser, ToolBoxBrowser or MDIBrowser demos.
-
- Posts: 44
- Joined: Sun Jul 07, 2019 1:46 pm
Re: How to keep web-sites authorisation after application restart
Got it.
Thank you a lot!
Thank you a lot!