iTP Secure WebServer System Administrator's Guide (Version 7.0)
Using Common Gateway Interface (CGI) Programs
iTP Secure WebServer System Administrator’s Guide—523346-012
8-19
Passing CGI Environment Variables
FORM_DECODING_P
REFIX
This environment variable is used to attach a prefix to the 
environment variables that are created when the value of the 
AUTOMATIC_FORM_DECODING environment variable is set to 
ON.
Format:
Region /* {
 AddCGI AUTOMATIC_FORM_DECODING ON
 AddCGI FORM_DECODING_PREFIX your_prefix_
 }
Example:
To retrieve the value of the form entry:
<INPUT SIZE=30 NAME="First_Name"> <b> Your First 
Name</b> <br>
Use the following:
getenv ("your_prefix_First_Name"); 
In this example, the names of all environment variables have the 
prefix your_prefix_. The prefix option can be useful if you 
expect duplication of names between the names in your form and 
the names of predefined environment variables.
TANDEM_CGI_CONNE
CTION_ABORT_EXIT 
If set to yes, causes the Pathway CGI server to abort when the 
dialog between HTTPD and CGI server is aborted. 
Format:
Server path {
Env TANDEM_CGI_CONNECTION_ABORT_EXIT=value}
The valid values for this variable are YES/yes and NO/no.
If you write your own copy of CGI_connection_abort() routine that 
does not stop the Pathway CGI server, the CGI server is aborted if 
TANDEM_CGI_CONNECTION_ABORT_EXIT is set to yes.
In all other cases, this variable has no effect.
This environment variable is not used in case of NSJSP.
Example:
Server $root/bin/SampleServer.pway {
Eval $DefaultServerAttributes
Env TANDEM_CGI_CONNECTION_ABORT_EXIT=YES}
Table 8-2. Pathway Specific Environment Variables (page 3 of 4)
Environment Variable Description
* When AUTOMATIC_FORM_DECODING is used, only the last value in a multiple selection will be returned if the 
POST method is used along with the multiple tag. To see all values, use the GET method and the 
QUERY_STRING variable.










