Updates the location for an HTTP response.
procedure Redirect( const AURL: string );
Redirect is a procedure that allows the HTTP response to redirect the HTTP client to specific URL.
Redirect sets the value for the HTTP response in ResponseNo to 302, the HTTP response code that indicates a temporary redirection has been performed. To indicate that a resource has been permanently moved, set ResponseNo to 301.
Redirect also updates the "Location" Header for the HTTP response to contain the value specified in AURL.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.