Retrieving request information is simple. Just invoke COBW3_GET_REQUEST_INFO while specifying the condition name of the information that you want to retrieve. The information, if successfully retrieved, is set in COBW3-REQUEST-INFO.
This sample retrieves two pieces of request information: One is the information on a physical path corresponding to a virtual directory, used to determine the pathname of the Web page for processing results. This will be stored in the same path as the application (ISASMPL1.DLL) (Lines 1480 through 1540). Since a Web application has an undefined current directory on IIS, you need to determine the pathname based on this information or specify an absolute path. Another piece of information to be retrieved is the name of the host on which the WWW Browser is running, which is to be displayed on the screen (Lines 750 through 810).