Consultor Eletrônico



Kbase P114697: How to read a HTTP header from a WebSpeed .p file?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

GOAL:

How to read a HTTP header from a WebSpeed .p file?

GOAL:

How to get information from HTTP header?

GOAL:

how to use get-cgi function?

GOAL:

How to get CGI variables?

FACT(s) (Environment):

All Supported Operating Systems
Progress/OpenEdge Versions

FIX:

Most Standard CGI and a number of HTTP environment variables are available as global variables, for example:

{&out} get-cgi("HTTP_HOST").
{&out} get-cgi("HTTP_USER_AGENT").

If the unknown value is specified, the return value is a list of variables, for example:

{&out} get-cgi(?).