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.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

Save login google

Post Reply
Djota
Posts: 10
Joined: Fri May 05, 2017 12:35 pm

Save login google

Post by Djota »

Hi Guys.

Well, i need cef to be always logged in google but every time i close the application and open again is logged off.

How to save this login without needing to stay logging on every time?

PS.: I'm using in delphi

Thank you.
User avatar
salvadordf
Posts: 4620
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Save login google

Post by salvadordf »

Hi,

Try setting a directory for the cache and cookies adding this before GlobalCEFApp.StartMainProcess

Code: Select all

  GlobalCEFApp.Cache                := 'cache'; // use a writable directory
  GlobalCEFApp.Cookies              := 'cookies'; // use a writable directory
Djota
Posts: 10
Joined: Fri May 05, 2017 12:35 pm

Re: Save login google

Post by Djota »

Ow thanks, worked perfectly.

Save my life :D
Post Reply