Internet Direct (Indy)
Home
PreviousUpNext
TIdCustomHTTP.AuthRetries Property

Current number of authentication requests attempted for the client connection.

Pascal
property AuthRetries: Integer;

AuthRetries is a published Integer property in TIdHTTP, and represents the number of retries attempted when performing authentication for the TIdHTTP client connection. 

AuthRetries is used when an HTTP protocol handler for the client connection attempts to process a protocol response code that indicates authentication or proxy authentication is required (401 or 407). 

AuthRetries is incremented on each attempt to authenticate. AuthRetries is compared to the value in the MaxAuthRetries property that indicates the maximum number of authentication requests allowed to determine if additional authentication requests are allowed. 

When permitted, the request is performed using the OnAuthorization event handler. 

Use AuthProxyRetries to determine the current number of authentication attempts issued for the proxy server identified in ProxyParams.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.