Accessing request data
The CGI Link Request part represents a request from a client browser. It provides a means of directly accessing an incoming request. A Web Connection part does not have to include a CGI Link Request part; but if it does, the CGI Link Server makes the information from the incoming request available through the CGI Link Request part.
By connecting to the events and attributes of the CGI Link Request part, you can do the following:
• You can retrieve the variables sent from the browser from the cgiVars attribute. These variables provide information such as the client and server software being used, the client host and user names, and authentication information (when available).
• You can access all of the form data sent with the request, stored in a LookupTable, from the formData attribute. This provides an alternative to Form Data for getting access to the form data. You might want to use this method if you need access to all the form data in a LookupTable, or if the form submitting the request was not built with Web Connection.
• You can use the requestReceived event to trigger actions that you want to execute each time a request comes in. For example, you might want to write an entry to a log file each time a request comes in. The requestReceived event fires with each request, regardless of whether the request results in HTML being generated.
Last modified date: 01/29/2015