Http Basic Authentication and AJAX

Does anyone know how to make AJAX calls to admin name spaced controllers
that requires http basic authentication? TIA.

If you already have HTTP auth working, the ajax calls should just
work. If the client is not authenticated, a popup should appear asking
him to give his credentials.

On Thu, Sep 4, 2008 at 7:08 PM, Bala P. [email protected] wrote:

Does anyone know how to make AJAX calls to admin name spaced controllers
that requires http basic authentication? TIA.
–~–~---------~–~----~------------~-------~–~----~


Maurício Linhares
http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/
(en)
João Pessoa, PB, +55 83 8867-7208

The HTTP basic authentication is already working. But AJAX calls to
those
controller fails. Any pointers is appreciated. Thanks.

On Thu, Sep 4, 2008 at 3:11 PM, Maurício Linhares <
[email protected]> wrote:

If you already have HTTP auth working, the ajax calls should just
work. If the client is not authenticated, a popup should appear asking
him to give his credentials.

On Thu, Sep 4, 2008 at 7:08 PM, Bala P. [email protected] wrote:

Does anyone know how to make AJAX calls to admin name spaced controllers
that requires http basic authentication? TIA.


http://www.rubyplus.org/
Free Ruby and Rails Screencasts

http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html

On Thu, Sep 4, 2008 at 7:12 PM, Bala P. [email protected] wrote:

The HTTP basic authentication is already working. But AJAX calls to those
controller fails. Any pointers is appreciated. Thanks.


Maurício Linhares
http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/
(en)
João Pessoa, PB, +55 83 8867-7208