By "suppress", I assume you mean you want to be notified of the
authentication request so you can handle it in your own UI or just
ignore it? Obviously, if something requires authentication to access,
you have to authenticate to access it...

I'd say you need to get at the XHR and check for request.status == 401
in an onreadystatechange event. I'm not sure what the "jQuery way" to
do that is.

If you're asking how to send authentication in XHR, just set the
proper headers. See here:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.8

Good luck.

--Erik


On 5/1/07, Sean Catchpole <[EMAIL PROTECTED]> wrote:

Ok, so now I have this same scenario where I am trying to load ajax
from a apache authenticated area and it popping up with the login box.
Is there any way to hide that?
I'm looking all over the web, but I haven't found anything yet.

~Sean

Reply via email to