We help IT Professionals succeed at work.

in the dark about ISAPI

eriklee
eriklee asked
on
Medium Priority
297 Views
Last Modified: 2013-12-25
How do/can I make use of ISAPI? How do I program it & can u give an example?
Comment
Watch Question

Commented:
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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Commented:
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.

Author

Commented:
thanks for enlightening me.
thanks also to Buemoh's comment
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.