Unit 'HTTPDefs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TResponse.SendRedirect

Sends a redirect response

Declaration

Source position: httpdefs.pp line 646

public procedure TResponse.SendRedirect(

  const TargetURL: string

);

Arguments

TargetURL

  

Target URL for the redirect

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.


Documentation generated on: Dec 05 2026 Report a problem on this page