Top
NetCOBOL V11.0 CGI Subroutines User's Guide
FUJITSU Software

3.12 Quantitative Restrictions on CGI Subroutines

Data to be used by CGI subroutines must satisfy the following quantitative restrictions:

Item

Value

Maximum length of Web parameter (*1)

1073741822 bytes

Maximum character string length of Web parameter "NAME"

1024 bytes

Maximum character string length of Web parameter "VALUE"

1024 bytes

Maximum record length of processing result output Web page (file) specified in COBW3-HTML-FILENAME (*2)

1024 bytes

Maximum line length of processing result output Web page after conversion data replacement

3072 bytes

*1 - The data format of the Web parameter is different according to the specification of ENCTYPE of the FORM tag. The data of the file up-loading etc. besides NAME and VALUE are included in the Web parameter. Moreover, when limited memory is available, data might not be able to be received even when the size of data does not exceed the fixed quantity limitation because the Web parameter is acquired using the memory of the machine running the WWW Server. Therefore, you should display the size of the file that can be up-loaded to the Web page for the invoking application, or display not to up-load a file that exceeds the limitation on the Web page for invoking the application if it is necessary. Refer to a book or other resource documenting HTML for details of the data format of the Web parameter.

*2 - The byte length of one line in an HTML document that was created using an HTML editor sold on the market may exceed 1,024 bytes. In this case, shorten the line length to less than 1,024 bytes by using a text editor such as Notepad.