[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 277
  • Last Modified:

in the dark about ISAPI

How do/can I make use of ISAPI? How do I program it & can u give an example?
0
eriklee
Asked:
eriklee
1 Solution
 
TKIICommented:
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
 
buemohCommented:
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
 
erikleeAuthor Commented:
thanks for enlightening me.
thanks also to Buemoh's comment
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now