I’m not trying to send cookie data with the xmlhttprequest, rather I’m trying to use the xmlhttprequest to set cookies for the session without requiring user interaction.
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.
According to the spec:
As far as I’ve managed to tell, Firefox 3.6 will store the cookies, but they won’t be available to the document of the page which executed the query through
document.cookie. But they will be sent with subsequent XMXHttpRequests, which is sufficient for my uses.