This function returns any CGI or other environment variables specific to a Web request. The function returns a blank value if an invalid variable name is supplied.
Location
web\method\cgiutils.i
Parameters
INPUT p_name AS CHARACTER
The variable name. If the Unknown value (?) is specified, the return value is a list of variables.
Returns
CHARACTER
Notes
Most standard CGI and a number of HTTP environment variables are available as global variables. This function is only needed to access environment variables not defined in web\method\cgidefs.i.
Examples
See the init-cgi procedure in web\objects\web-util.p.