Solved

in the dark about ISAPI

Posted on 1997-09-02
3
268 Views
Last Modified: 2013-12-25
How do/can I make use of ISAPI? How do I program it & can u give an example?
0
Comment
Question by:eriklee
3 Comments
 
LVL 1

Accepted Solution

by:
TKII earned 50 total points
ID: 1830062
This are a lot of questions.
With ISAPI you can write programs that run together with every WebServer that is ISAPI compatible (the only one I know right now is IIS from MS).
There are two types of apps that you can write with ISAPI: the extensions and the filters.

The extensions replace the CGI-scripts, but they are DLLs instead of exes or to say it in other words multiple thread instead of multiple processes. So you cannot simply take a script and make an extension. You need a little bit redesign for your app.

The filters are a kind of hook functions. The filters tell the WebServer what events they want to be notified about. Whenever one of those events happen they receive a notice and can to something. Events are receiving data, sending data, mapping urls to pathnames on the server machine etc.
If you want to write a program for ISAPI then the easiest way is to get the VC++5.0 from MS and read all the docs about ISAPI and then write your code :-) . Examples are included.
0
 
LVL 1

Expert Comment

by:buemoh
ID: 1830063
First, Microsofts Personal Web Server for Windows95 supports ISAPI as well as the IIS do. Then there are some other httpd servers, like Server Seven and Alibaba Server, which support ISAPI too.

Second, if you want to build ISAPI, then you can use also Delphi 3.0 or you can use Delphi 2.0 with some available components, like my own TCGIcomponent, which comes with an Delphi expert, which makes it easier to build ISAPI CGI extension DLLs. If you want it, please request it via mail, the component is FREE.

Third, the filter .DLLs are normaly used for logging and/or debugging and the told things in the proposed answer.
0
 

Author Comment

by:eriklee
ID: 1830064
thanks for enlightening me.
thanks also to Buemoh's comment
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wondered how to display how many visitors you have online. In this tutorial I will show you an easy but effective way to display the number of online visitors in WhizBase. In this article I assume you have read my previous articles and know …
In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question