The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.


Redirects the client browser to the specified URL and terminate any processing of the current web content

Redirect(1, 2)

1stringRequiredURL used to redirect the client browser via a HTTP 302 redirect
2BooleanIndicates whether the redirect is temporary or permanent. A value of true indicates a permanent HTTP 301 redirect. A value of false indicates a temporary HTTP 302 redirect.