Required Parameter Group: | |||
1 | CGI's state string | Input | Void |
2 | Length of the string | Input | Binary(4) |
3 | Error Code | I/O | Char(*) |
Use the QzhbCgiSendState API with HA CGI programs to send or save the CGI stateful data. The HTTP Server saves the data for the next request to the stateful CGI so that if a failover occurs the data is available on the backup system (new primary system).
The CGI’s state string is the state of a high availability CGI that the Web server stores and passes to the CGI with the subsequent request. This string can consist of any information necessary for the CGI state (for example, a structure of several variables or fields). The Web server treats the contents of the state as binary data.
The length of the CGI’s state. The minimum length is 1 byte and the maximum length is 61,000 bytes.
The structure in which to return error information. For the format of the structure, see API Error Reporting in the iSeries™ Information Center.