Cef Browser session/cookies save/load/import/export

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Cef Browser session/cookies save/load/import/export

Postby payalord » Tue Mar 24, 2020 9:29 pm

Is it possible to preserve Cef session or share it across couple cef windows? for example if I logged in to my account on some website i want to have an access to it without logging in again from all opened cef browser windows. Or if i closed cef window compeletely (program exit) then run it again and cef browser opened no need to login cause in previous session i already logged in and cookies are saved along with session too etc.
payalord
Techie
 
Posts: 21
Joined: Sun Jan 07, 2018 8:21 am

Re: Cef Browser session/cookies save/load/import/export

Postby magreenblatt » Tue Mar 24, 2020 10:49 pm

Set a cache_path for persistent storage or use CefRequestContext when creating the browsers for shared storage.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 44 guests