M
Mikkel B
Guest
Is it possible to pass credentials to a webserver that request authentication using ajax?
I want to log in to a website that uses www-authentication (http header), and pass the credentials using ajax. when visiting the server with a browser, the browser presents an authentication window triggered by the http header sent from the server (the server uses .NET technology). I want to access the site 'behind the scenes' by calling it from an ajax object, but I'm not sure how to handle the http header that requests the authentication.
I want to log in to a website that uses www-authentication (http header), and pass the credentials using ajax. when visiting the server with a browser, the browser presents an authentication window triggered by the http header sent from the server (the server uses .NET technology). I want to access the site 'behind the scenes' by calling it from an ajax object, but I'm not sure how to handle the http header that requests the authentication.