Sends the response with a StatusCode of 301 (Moved Permanently) and a Location of URI.
procedure SendRedirect(const URI: AnsiString); override;
virtual __fastcall SendRedirect(const AnsiString URI);
Call SendRedirect to redirect the web client request to another URI that is the proper target of the request. SendRedirect does the same thing as setting the StatusCode to 301, the Location to URI, and calling SendResponse.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!