PDA

View Full Version : proxyAuthenticationRequired signal emitted only for the first time.



sushmacr
1st July 2010, 14:11
Hello All,

In my browser implementation QNetworkAccessManager is emitting proxyAuthenticationRequired signal only first time. If the credentials are not entered or wrongly entered i dont get proxyAuthenticationRequired signal again.

Based on the Qt docs it says that "QNetworkAccessManager will cache the credentials internally. The next time the proxy requests authentication, QNetworkAccessManager will automatically send the same credential without emitting the proxyAuthenticationRequired signal again."

Is there any other signal to be registered by which Successful/Failure status of authentication can be known ?
What is the Signal if the proxyAuthentication fails?
Is there a way to clear the QNetworkAccessManager cache?