Side navigation
#5549 closed enhancement (invalid)
Opened November 25, 2009 12:31PM UTC
Closed June 13, 2010 07:00PM UTC
Need for a workaround to support XHR cookie dispatch in IE?
Reported by: | acanfora | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | unfiled | Version: | 1.3.2 |
Keywords: | cookie, ajax, xmlhttprequest, setRequestHeader | Cc: | |
Blocked by: | Blocking: |
Description
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:
http://support.microsoft.com/?scid=kb%3Ben-us%3B234486&x=9&y=5
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.
Hi all, I checked with Wireshark and found that, conversely of what reported by some sites, IE actually sends cookies through XHR, so don't bother with this (false) issue. The weird behavior of my application should be related to something else.
Sorry for the mistake