I’m sending an AJAX request to another domain, and it’s sending me a response with a cookie, but document.cookie is empty. How can I make it visible? What permissions do I need? Thanks.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What you’re attempting can’t be done. (It’s a browser security issue)
can only be solved by getting the user’s browser to submit requests to each domain which will then set its own cookie.