Take a look at the Scriptics Connect Server, it uses an ISAPI
extension (mostly for handling XML, but it can be used for
other CGI-like tasks include HTML template handling).
We use several tclsh82.exe slaves, controlled via pipes,
that are handling by an interpreter pool in our ISAPI DLL.
This way, you don't need to worry about the thread-safety
of the Tcl Extensions that you use (itcl, tclx, etc.).
We did have a previous version that used Tcl interps in
the DLL, but you need the thread-safe Tcl and cannot use
extensions that are not thread-safe as well.
-- Scott
Costas Menico wrote:
>
> Does anyone know of a Tcl interface to ISAPI instead of plain CGI for
> Windows NT?
>
> Basically I need a Tcl application to be running and polling the ISAPI
> for any requests. Parse the request, generate HTML and respond back
> to the ISAPI.
>
> It is probably a small DLL that gets executed on every request.
>
> Thanks
>
> Costas
>
> I
Scott Redman <red...@scriptics.com> wrote:
>http://www.scriptics.com
>
>Take a look at the Scriptics Connect Server, it uses an ISAPI
>extension (mostly for handling XML, but it can be used for
>other CGI-like tasks include HTML template handling).
>
>We use several tclsh82.exe slaves, controlled via pipes,
>that are handling by an interpreter pool in our ISAPI DLL.
>This way, you don't need to worry about the thread-safety
>of the Tcl Extensions that you use (itcl, tclx, etc.).
>
>We did have a previous version that used Tcl interps in
>the DLL, but you need the thread-safe Tcl and cannot use
>extensions that are not thread-safe as well.
>
>-- Scott
>
>
>Costas Menico wrote:
>>
No, it is part of Scriptics Connect (for now).
If you wish to be a beta user for 1.1 or
would like to evaluate 1.0, fill out the form
on the web site. Scriptics Connect for WinNT
includes the ISAPI extension (1.1 also includes
the NSAPI extension for Netscape Server, on
WinNT, Solaris, and Linux). The Solaris
(and in 1.1, Linux) version includes a new
mod_tcl Apache module.
Scriptics Connect may be out of your price range,
but contact sales and/or marketing and tell them
you're interested in the ISAPI extension without
support for XML. We're starting to discuss these
types of issues. In the short term, you probably
could eval and/or beta-test 1.1.
-- Scott