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
domain.com
.getJSON()
anotherdomain.com
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.