Ticket #5549 (closed enhancement: invalid)
Need for a workaround to support XHR cookie dispatch in IE?
|Reported by:||acanfora||Owned by:|
|Keywords:||cookie, ajax, xmlhttprequest, setRequestHeader||Cc:|
Hi, using Jquery and XHR for session tracking I encountered a problem that deals with IE's XHR implementation. An application I wrote works fine under all browsers except IE (tested ver 6, 7), under which sessions are not being tracked. After some inquiry I found that the reason of this behavior seems to be that IE XHR does not send cookies through requests. Does someone know if there is a workaround in JQuery to resolve this issue? I found a workaround that entails the use of setRequestHeader method, that also has a bug:
Anyway the workaround does not work with cookie httponly flag and it is not transparently handled by JQuery XHR methods. Does someone have an idea to handle this issue?
Thank you in advance for your support.