http OnRedirected event
Return to Introduction  Previous page  Next page
Applies to
auHTTP component.  

Declaration
type  
  TauHTTPRedirected = procedure(Sender: TObject; const NewURL: Stringof object;  
 
property OnRedirected: TauHTTPRedirected;  

Description
The OnRedirected event occurs if the server has redirected the HTTP query to another location (when redirection has been detected by internal status callback procedure). This means that the data which about to be posted, and the document which about to be downloaded in response of your query, will be taken from another location, specified in NewURL parameter.  

See also
Location parameter in OnHeaderInfo event.  
File not found.