isstatus Element

Set the HTTP response status code.

value = http_code

Allowed data type: string or expression.

http_code identifies the HTTP response code. This must be an integer.

The following sets the response status code to 307, which indicates that the requested resource resides temporarily under a different URI.

The following sets the response status code to 410, one of the few error codes for which pages are cached in the Salesforce B2C Commerce Web Server.

Explicitly supported REDIRECT and GONE are also cached. This means that responses with the response status code 301 (indicating that the resource has permanently moved to a new location), 302 (indicating that the resource has temporarily moved to another location) and 410 (indicating that the resource is no longer available at the server and no forwarding address is known) are also cached by the WebAdapter.