Cookies not sent to Server? (in default samples apps)

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.

Cookies not sent to Server? (in default samples apps)

Postby avtcoco » Wed Dec 17, 2014 10:58 am

Hi,

I have been trying the sample 'cefclient' (both win32 x86 and x64 versions), and it seems the cookies are not sent to the server (no cookie received server-side ; the cookies are not displayed in Request Headers ; and in Network debugger there is no "Cookies" tab).

I did not modify the source code, and I also have the same behavior with sample "cefsimple".

Is that the default behavior expected in these samples? Or did I miss something?

Thanks for your help,
Olivier
avtcoco
Newbie
 
Posts: 3
Joined: Wed Dec 17, 2014 10:49 am

Re: Cookies not sent to Server? (in default samples apps)

Postby magreenblatt » Wed Dec 17, 2014 11:00 am

What OS and CEF version? How are you setting the cookies?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Cookies not sent to Server? (in default samples apps)

Postby avtcoco » Wed Dec 17, 2014 11:07 am

CEF3 branch 2171, on Windows 7 x64, also on Windows 8 x64.

The cookies are set by an asp.net application.
I also tried browsing pages on www.google.com: same behavior.

The same tests in Google Chrome work perfectly.

Olivier
avtcoco
Newbie
 
Posts: 3
Joined: Wed Dec 17, 2014 10:49 am

Re: Cookies not sent to Server? (in default samples apps)

Postby magreenblatt » Wed Dec 17, 2014 11:12 am

What test?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Cookies not sent to Server? (in default samples apps)

Postby avtcoco » Wed Dec 17, 2014 11:22 am

Launch cefclient.exe
In URL toolbar, enter www.google.com
Open DevTools
Navigate to Google News (for instance)
In DevTools / Network, check the requests: cookies don't appear in Request Headers (and no Cookies tab).

Exact same steps in Google Chrome --> the cookies (set by google) appear in request headers + in Cookies tab.
avtcoco
Newbie
 
Posts: 3
Joined: Wed Dec 17, 2014 10:49 am

Re: Cookies not sent to Server? (in default samples apps)

Postby fryderyk » Fri Mar 13, 2015 2:58 am

The exact same sympton like you encountered. I tried cef rev.1721 that version is ok, but with rev.1949 it's got this problem. any more discoveries since you post ?
fryderyk
Newbie
 
Posts: 2
Joined: Sun Dec 08, 2013 12:46 pm

Re: Cookies not sent to Server? (in default samples apps)

Postby JasonLP » Mon Mar 16, 2015 10:35 am

This may be related to the problem reported on this thread:
viewtopic.php?f=6&t=12654
JasonLP
Mentor
 
Posts: 98
Joined: Fri Jul 25, 2014 10:10 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 96 guests