Skip to main content

Bug Tracker

Side navigation

#948 closed bug (worksforme)

Opened February 12, 2007 08:57PM UTC

Closed August 19, 2007 09:07PM UTC

Last modified March 14, 2012 08:42PM UTC

jquery ajax authentification intégré iis

Reported by: phoenixenator@gmail. Owned by:
Priority: major Milestone: 1.1.4
Component: ajax Version: 1.1.3
Keywords: Cc:
Blocked by: Blocking:

Les requetes ajax de jquery 1.1 ne fonctionnent pas avec firefox 2.01 si l'on utilise un serveur iis et que l'on a configurer l'application pour qu'elle utilise l'authentification intégré (il n'y a aucun problème avec ie6 et ie7).

Attachments (0)
Change History (10)

Changed February 22, 2007 10:05PM UTC by fil comment:1


The ajax requests under jQuery 1.1 don't work with firefox 2.01 if you use a IIS server, and you configured the application (?) so that it uses the integrated authentication (there is however no problem with IE6 or IE7)

Changed February 23, 2007 01:05AM UTC by brian comment:2

"Integrated authentication" requires IE magic. The only way I can think of to make this work, outside of changing the IIS settings to use a different auth scheme, is to intentionally try to load up and use the XMLHTTP ActiveX control from FF.

Personally, I think that this problem is beyond the scope of jQuery (or, any JS library).

Changed March 24, 2007 03:37AM UTC by john comment:3

milestone: 1.1.3
resolution: → wontfix
status: newclosed
version: 1.1

Due to Brian's notes - I'm going to close this ticket.

Changed June 15, 2007 12:15AM UTC by jf5110a comment:4

resolution: wontfix
status: closedreopened

If you don't mind I'd like to reopen this ticket.

I am having the same issues mentioned above. I don't think the statement that integrated auth requires "IE Magic" is accurate.

I have no problem using a firefox browser against an IIS6 server using integrated auth, then navigating to other pages without being prompted for my creds again.

If I do something that makes an ajax call, the first couple of ajax calls I make in the browser work, then it suddenly prompts me for my creds again, but when I enter them I just keep getting prompted.

The fact that firefox handles integrated auth fine when navigating pages of a site, as well as the fact that the first few ajax calls work, makes me believe the problem lies in the ajax framework.

Integrated auth is common enough for firefox to support it, so I would hope that jquery could as well.

Changed June 15, 2007 06:21PM UTC by jf5110a comment:5

I have found that if I comment out this line in jquery.js (around line 1723), the ajax calls in firefox work fine with windows auth:

xml.setRequestHeader("Connection", "close");

I am no jquery expert, so I must ask, what negative implications could jquery experience by removing this line?

Changed July 15, 2007 03:05PM UTC by john comment:6

milestone: → 1.1.4
need: → Review
resolution: → fixed
status: reopenedclosed
version: → 1.1.3

That code has been removed from jQuery, so this issue should be resolved for you now. Let me know if that's not the case.

Changed July 23, 2007 02:03PM UTC by gcleaves comment:7

I've just downloaded and have a similar problem. I'm using Apache 2.2 on Windows 2003 server. Apache uses the NTLM module and the application relies on Windows authentication. AJAX calls to scripts requiring NTLM authentication fail when using Firefox. It works with Internet Explorer and Firefox/Prototype. The combination of Firefox/Jquery does not work. We get a 401 Unauthorized page instead of the AJAX response.

Changed July 23, 2007 02:04PM UTC by gcleaves comment:8

resolution: fixed
status: closedreopened

Changed July 23, 2007 02:41PM UTC by gcleaves comment:9

Oops, I feel shame. Please ignore my previous comments as I wasn't actually using the most recent version of jquery. It seems that everything *does* work as it should with the latest version.

Changed August 19, 2007 09:07PM UTC by john comment:10

resolution: → worksforme
status: reopenedclosed