HTTP Header Variables (Connected to IBM i Web Server)

For use with:
      •   IBM i CGI Interface

Each request by a browser to the Web Server sends a set of HTTP Header Variables to the Web Server. HTTP Header Variable support in LANSA Web allows you to forward the content of these HTTP Header Variables to the Data/Application Server in the form of function parameters (FUNCPARMS).

If the Send specified HTTP Header Variable values to the host option is selected, the HTTP Header Variables are sent to the Data/Application Server for each incoming request. This option must be enabled for each system. It should only be used if you really want to have access to the content of the specified HTTP Header Variables within your Web Application. The Send specified HTTP Header Variable values to the host option is on the General page of the General (IBM i only) which you can reach by selecting the Tools menu and choosing Maintain Systems, select the system you want to enable, press Add/Change and select Send specified HTTP Header Variable values to the host on dialog Add/Change LANSA System tab General.

If an HTTP request received by the Web Server does not contain the HTTP Header Variable you specified, then the Default Value specified together with the HTTP Header Variable will be sent to the Data/Application Server instead.

To specify HTTP Header Variables, select the Tools menu and choose the HTTP Header Variables command. The HTTP Header Variables dialog box is displayed. You must be signed on as QSECOFR or the partition security officer to use this command.

 

The HTTP Header Variables dialog box displays a list of HTTP Header Variables already configured for LANSA Web.

Add... or Change...

When you select the Add or Change button, the relevant Add or Change HTTP Header Variable dialog box is opened.

Refer to Add/Change HTTP Header Variable (IBM i only) .