Syncing cookies

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.

Syncing cookies

Postby keshav » Sat Jan 05, 2013 4:46 am

Is it possible to sync the cookies present on ur google chrome Appdata directory to CEF, by changing the cache path,

if not can please some one tell me how to go about doing that

Thank you for reading

Keshav
keshav
Mentor
 
Posts: 82
Joined: Mon Jan 16, 2012 11:33 pm

Re: Syncing cookies

Postby magreenblatt » Sat Jan 05, 2013 3:04 pm

Separate running instances of Chrome or CEF cannot share the same user data directory. CEF provides APIs for accessing cookies and Chrome provides a cookies extension API. You could likely create an application and/or Chrome extension that uses these capabilities to sync cookies between a running Chrome instance and a running CEF instance. If neither instance is running and if the Chromium version is the same (meaning the cookie file format is the same) you could potentially copy the cookie file from one to the other.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Syncing cookies

Postby keshav » Sun Jan 06, 2013 7:39 pm

I copy pasted the cookies from AppData/local/Cache and every thing worked, cefClient was completely synchronized with my cookies ans cache.
keshav
Mentor
 
Posts: 82
Joined: Mon Jan 16, 2012 11:33 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 199 guests