I have a web app that makes heavy use of jQuery.ajax() and jQGrid. In a typical flow:
I was running into a problem where the getProperties call on the server was not attached to the authenticated session and hence failing. Looking at XHR captures in Chrome/Safari/Firefox developer tools, I see different behavior on different browsers.
In Firefox, I see that all XHR requests submit the correct JSESSIONID cookie, except the getProperites call, which seems to not submit any cookie and thus results in a new session.
In Chrome I see strange Cookie request headers with two values of JSESSIONID:
Cookie:JSESSIONID=hncGp+UQxJ4X+FUEwj-gdejS; JSESSIONID=NCj6wdLOxh3zwutXEvB1UQYr; __utma=199763511.429181615.1314144361.1316197892.1316480513.20; __utmz=199763511.1314144361.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
I did not even think this was possible.
Any ideas what is going wrong? All XHR requests go to the same context path on the app server.
Thanks.
-Raj