Session Cookie Not Being Stored in Browser #9580
Unanswered
JoelOnyedika
asked this question in
General
Replies: 1 comment
-
can you share your project repo .. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here's a structured version of the GitHub issue, complete with headings for easy copying and pasting:
Title: Session Cookie Not Being Stored in Browser
Description:
I am developing an application using Django as the backend and React as the frontend. I am experiencing an issue where the
sessionid
cookie is not being stored in the browser after a successful login. As a result, subsequent AJAX requests do not include this cookie, leading to authentication failures.Problem:
sessionid
cookie is not being set in the browser's cookie storage after login, despite using the default Django session authentication.Django Configuration:
My login logic
Steps Taken:
credentials: 'include'
in AJAX requests to include cookies.Request for Help:
I am seeking assistance in diagnosing why the
sessionid
cookie is not being stored in the browser after login and how to resolve this issue.Beta Was this translation helpful? Give feedback.
All reactions