|
|
|
|
PageWriteCustomHTTPCode (Function) In french: PageEcritCodeHTTPPersonnalisé Specifies the custom HTTP code that will be returned to the client after the server code of the page is executed. This function allows you to specify any code between 100 and 599, including the following return codes: - 2xx codes for Successful responses.
- 3xx codes for Redirections.
- 4xx codes for Client errors.
- 5xx codes for Server errors.
PageWriteCustomHTTPCode("498 Invalid Token")
Syntax
PageWriteCustomHTTPCode(<HTTP code and description>)
<HTTP code and description>: Character string HTTP code and its description, returned by the current call. The expected format is as follows:
<HTTP code> <Description> For example: "498 Invalid Token". Supported codes range from 100 to 599. Remarks The code specified by PageWriteCustomHTTPCode is ignored: - In case of error (4xx and 5xx codes) or redirection (3xx codes).
- In an AJAX call.
Business / UI classification: UI Code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|