Discuss this help topic in SecureBlackbox Forum

HTTPS: Handle redirections

To properly handle redirections, you need to use TElHTTPSClient.MaxRedirections property. MaxRedirections property is used specify maximum number of HTTP redirects. Set MaxRedirections to 0 to prevent any redirections. Set MaxRedirections to -1 to allow unlimited redirections (note that this can cause an infinite redirection loop on misconfigured servers!). Set MaxRedirections to any value above 0 to allow redirections and limit their number.

Optionally you can setup a handler for OnRedirection event. This event notifies your application about the redirection and lets you decide whether the request should be redirected.

How To articles about client-side HTTPS questions

Discuss this help topic in SecureBlackbox Forum