TWebClientConnection and authentication


Trying to connect to an apache that is set up with authentication and can not get the username and password configured in the WebClientConnection parameters to work. Using no security works but as soon as I set the username and password active, not data is retrieved.

How is the authentication settings used and are there any examples using this supplied with the Web Core ? Tried to use a fiddler proxy but could not see any header/authentication information from the connection.

Eirik Nesje

When both the properties User & Password are set, the URL is opened with these settings.

This boils down to underlying using XMLHttpRequest with a username & password:

When you use this with your server and it fails, what exact error message do you see in the console?