IBM Books

Net.Data Programming Guide


Using ISAPI

Details on which systems can use ISAPI and additional information is in the README file. These are the steps to configure Net.Data to run with ISAPI on your server:

Net.Data comes with a DLL to use with ISAPI. This DLL is in the server's subdirectory. For example:

/inetsrv/scripts/dtwisapi.dll

ISAPI bypasses CGI processing, so you must change your Web pages and Web macros that have CGI calls to Net.Data. Remove the cgi-bin/db2www/ part of the URL in forms and anchor references and replace it with dtwisapi.dll. For example, this URL is an example of invoking Net.Data as the CGI program:

http://server1.stl.ibm.com/cgi-bin/db2www/test1.mac/report
This URL uses Net.Data as the ISAPI application:
http://server1.stl.ibm.com/scripts/dtwisapi.dll/test1.mac/report

If you keep your Net.Data macros in several directories, the directory names come after the DLL name. For example, this URL calls a Net.Data macro that is stored in the /orders/ directory:

http://server1.stl.ibm.com/cgi-bin/db2www/orders/test1.mac/report
The updated URL keeps the directory name:
http://server1.stl.ibm.com/scripts/dtwisapi.dll/orders/test1.mac/report


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]