I am using JSONP to answer AJAX calls on a different server than the site is on. It works pretty well, except that on IE, I can't maintain a session.
The site answering the request uses Java Servlets. It works in Firefox, but I in IE I have problems because it doesn't accept the cookies. (I can make it work by changing the security settings.)
From there I tried putting the sessionid in the url of the request:
listAction: server+'/site/gateway.jsp?current=page&next=something&jsessionid='+session+'&callback=?'
(I write callback=? because I am using jQuery and that is how you can do Jsonp.)
It still doesn't work. Did I write the session wrong? Is it still looking at my cookies? Can I possibly configure my servlet to load the session that I want it to load?