Author: Serhiy Perevoznyk
http://users.chello.be/ws36637
Use, modification and distribution is allowed without limitation, warranty, or liability of any
kind.
TidISAPIRunner component for Delphi 5, 6 and 7 allows to execute ISAPI scripts using Indy
TidHTTPServer.
Internet Direct (Indy) library
(version 8 or 9) is
required.
Welcome ISAPI script
Run the test ISAPI script with parameters
Standard Borland ISAPI example
IntraWeb "Guess" Demo
Websnap Survey Demo
Animated image Demo
Mail form Demo
Form variables Demo
Links:
TidCGIRunner component allows to execute CGI scripts using Indy
TidHTTPServer.
download
TidISAPIRunner component allows to run ISAPI modules using Indy
TidHTTPServer.
download
The most popular question an ISAPI developer receives is: "Why ISAPI?".
As many have realized, CGI isn't very efficient, nor is it very secure. ISAPI
was developed to fulfill the deficiencies where CGI fails.
One of the main reasons that ISAPI is more efficient than CGI is because ISAPI
remains memory resident. CGI, on the other hand, unloads after it's called. Each
time the CGI executable is called, the server must load the CGI process back
into memory, whereas ISAPI will already be in memory and can therefore serve the
request in a much faster time. For large-scale sites like EBay, ISAPI has been a
savior. If EBay were to run on CGI, the burden on their servers would be nearly
doubled, resulting in crashing and poor performance, and thus resulting in less
business.
Another great benefit of ISAPI is the flexibility of the process. Like CGI
executables, the user can use the compiler's embedded functions and the Windows
API to access the operating environment of the server. Some great applications
of this are, for example, creating an ISAPI remote administration program. ISAPI
will allow the application to access the Windows list of functions, kill
processes being run by the server, view a screenshot of the hosting screen, and
perform countless other administration options, all while providing a secure and
robust platform to do so.