Web.CGIHTTP.TCGIResponse.SendRedirect
Delphi
procedure SendRedirect(const URI: string); override;
C++
virtual void __fastcall SendRedirect(const System::UnicodeString URI);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Web.CGIHTTP.pas Web.CGIHTTP.hpp |
Web.CGIHTTP | TCGIResponse |
Description
Sends the response with a StatusCode of 301 (Moved Permanently) and a Location of 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.