Cookie Access over JSONP

后端 未结 2 847
情书的邮戳
情书的邮戳 2021-01-02 10:24

I have a page in domain.com that makes a JSONP ajax request (using jQuery\'s .getJSON() function) to a URL in anotherdomain.com. I tho

2条回答
  •  暖寄归人
    2021-01-02 11:00

    I have encountered the same problem before. The issue I found is that most browsers won't let you ESTABLISH a session (i.e. set a session cookie) when the same origin policy isn't being met.

提交回复
热议问题