TResponse.SendRedirect¶
Sends a redirect response
Declaration¶
Source position: httpdefs.pp line 625
public
procedure TResponse.SendRedirect(const TargetURL: string);
Description¶
SendRedirect sends an HTTP redirect response to the client. This sets the appropriate status code and Location header to redirect the client to a new URL.