Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi, guys! i am facing the same problem. what should i do ? #1461

Closed
boziyoung opened this issue Apr 12, 2022 · 2 comments
Closed

Hi, guys! i am facing the same problem. what should i do ? #1461

boziyoung opened this issue Apr 12, 2022 · 2 comments

Comments

@boziyoung
Copy link

Hi, guys! i am facing the same problem. what should i do ?

my back : django , i have set up "django-cors-headers";
i have set up chrome "--disable-web-security" and started it;
but i print it , it still ddin't have "set-cookie".
it is
allow: POST allow: OPTIONS content-length: 50 content-type: application/json date: Mon date: 11 Apr 2022 09:00:05 GMT referrer-policy: same-origin server: WSGIServer/0.2 CPython/3.10.0 vary: Accept vary: Cookie vary: Origin x-content-type-options: nosniff x-frame-options: DENY

but i can see "set-cookie" in the chrome dev tab.
image

Originally posted by @boziyoung in #1027 (comment)

@charcoast
Copy link

Read my comment on #1027, it might help.

@makoru-hikage
Copy link

@boziyoung , please check your browser settings, here's a guide: https://www.cookieyes.com/blog/how-to-check-cookies-on-your-website-manually

Chrome DevTools acts like a Javascript frontend app, it cannot read httpOnly Cookies; so expect nothing in its cookie viewer in the "Application Tab".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants