Cant seem to load cached 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.

Cant seem to load cached cookies

Postby Comrade » Fri Aug 14, 2020 9:34 am

I am having issues with preserving cookies between sessions. When I set cookies on "http://www.html-kit.com/tools/cookietester/" for example, then restart my application, the cookies I set are not seen by the webpage.
I have persist_session_cookies set to true and cache_path set to a directory, which gets filled with files.
As I set cookies I see the "COOKIE" file grow bigger, but they are never seem to get loaded into the page.

Im not very experienced with cef, so maybe I need to load the cached cookies for websites to be able to access them, but I have no idea how to do this or where to find information on this.
Any assistance on this would be greatly appriciated.
Comrade
Newbie
 
Posts: 6
Joined: Sun Mar 22, 2020 5:39 am

Re: Cant seem to load cached cookies

Postby magreenblatt » Fri Aug 14, 2020 10:43 am

What CEF version are you using? There was a recent fix in https://bitbucket.org/chromiumembedded/ ... omatically
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Cant seem to load cached cookies

Postby Comrade » Fri Aug 14, 2020 11:39 am

I'm using cef81
Comrade
Newbie
 
Posts: 6
Joined: Sun Mar 22, 2020 5:39 am

Re: Cant seem to load cached cookies

Postby magreenblatt » Fri Aug 14, 2020 12:07 pm

Comrade wrote:I'm using cef81

What is the full version number?
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Cant seem to load cached cookies

Postby Comrade » Sat Aug 15, 2020 3:52 pm

Im running CEF 81.1.1+g42583eb+chromium-81.0.4044.34
Comrade
Newbie
 
Posts: 6
Joined: Sun Mar 22, 2020 5:39 am

Re: Cant seem to load cached cookies

Postby magreenblatt » Sat Aug 15, 2020 5:43 pm

You need a newer build to get the fix.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Cant seem to load cached cookies

Postby amaitland » Tue Aug 18, 2020 2:45 am

Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1291
Joined: Wed Jan 14, 2015 2:35 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 61 guests