1

My client JavaScript- application is sending a simple POST CORS request to my server. Everything works fine so far and the server responses with "OK" and a cookie.

I can see the cookie in firebug.

I want to access the cookie in xhr.onload ..but I can't see the cookie or a cookie propertiy in the xhr object..

How can I access the cookie?

Thanks for all answers!!

ada91
  • 828
  • 2
  • 7
  • 19
  • 1
    Note the answer here: http://stackoverflow.com/questions/14462423/cross-domain-post-request-is-not-sending-cookie-ajax-jquery/14472492#14472492 You can't read/write cross-domain requests from your JavaScript. – monsur Apr 01 '13 at 15:22
  • Okay then, I hoped there would be a way. Thanks anyways! – ada91 Apr 02 '13 at 12:02

0 Answers0