Re: [Hampshire] AJAX, digest auth, and Firefox

Top Page
Author: Hugo Mills
Date:  
To: Hants LUG
Subject: Re: [Hampshire] AJAX, digest auth, and Firefox

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x57673100.hantslug.org.uk.11704': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Sun Jun 21 19:37:38 2009 BST
gpg: using DSA key 20ACB3BE515C238D
gpg: Can't check signature: No public key
On Sun, Jun 21, 2009 at 04:41:06PM +0100, Hugo Mills wrote:
>    I'm trying to write an RESTful AJAX application, using HTTP digest
> authentication on the REST resources. Up until now, it's been working
> fine. However, today I added some code, and Firefox now asks for a
> username and password using its standard login box, for most AJAX
> requests.

[snip]
>    Has anyone else come across this issue? If so, do you have any idea
> how might I go about fixing it?


OK, this doesn't appear to be related to the second request being
called from a callback function. If I hardcode the parameters for
url2, and call it immediately after the first basic_ajax_get(), I get
the same problem.

Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
   --- You know... I'm sure this code would seem a lot better if I ---   
                         never tried running it.