Web.Win.IsapiHTTP.TISAPIResponse.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.Win.IsapiHTTP.pas Web.Win.IsapiHTTP.hpp |
Web.Win.IsapiHTTP | TISAPIResponse |
Description
Sends the response with a StatusCode of 301 (Moved Permanently) and with Location set to the URI parameter.
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.