Solved

in the dark about ISAPI

Posted on 1997-09-02
3
272 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

689 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