autoupgrader OnProxyAuthenticationRequest event
Return to Introduction  Previous page  Next page
Applies to
acHTTP and acAutoUpgrader components.  

Declaration
type  
  TacHTTPProxyAuthenticationRequestEvent = procedure(Sender: TObject;  
     var ProxyUsername, ProxyPassword: String;  
     var TryAgain: Boolean) of object;  
 
property OnProxyAuthenticationRequest: TacHTTPProxyAuthenticationRequestEvent;  

Description
The OnProxyAuthenticationRequest event should be used to prompt users for their username/password to access the Web via secure proxy server which requires authentication.  
 
Write this event to prompt and specify the ProxyUsername and ProxyPassword parameters, required for the proxy authentication, and set TryAgain parameter to True, to retry the HTTP query with provided login information.  

See also
HTTP Status Codes.