Python COM from ASP

s_hubbard at my-dejanews.com s_hubbard at my-dejanews.com
Thu May 6 09:15:48 EDT 1999


Mark thanks for that,

One last question, being relatively new to this environment. How can you tell
how ASP is configured? I cannot find any configuration routines associated
with ASP, am I missing something, or are we just at the mercy of the initial
installation.

Thanks again
Simon


In article <7grv5g$eic$1 at m2.c2.telstra-mm.net.au>,
  "Mark Hammond" <MHammond at skippinet.com.au> wrote:
> The Python object is being loaded as a DLL.
>
> The answer depends on the configuration of ASP.  For a single process, the
> Python DLL is only loaded once, but many Python language objects may be
> created from that single instance.  ASP may or may not be using a single
> process for all you Python calls (and probably is if they are in the same
> ASP application)
>
> Alternatively, you can register the Python object so that it will use a
> .EXE, although the DLL version is generally better...
>
> Mark.
>
> s_hubbard at my-dejanews.com wrote in message <7gru52$k38$1 at nnrp1.deja.com>...
> >Having built a COM object for use from an ASP, I'm trying to find out how
> >whether the Python environment is loaded for each instance of the COM
> object,
> >or whether one python session serves all simultanious hits to the page.
> >
> >My problem is that neither the task manager, or any other monitoring tool
> >registers anything being loaded up when the object is called. Presumably
> the
> >python runtime is being loaded, but where and how?
> >
> >I'm using NT4 Workstation with PWS to simulate our Server/IIS
> configuration,
> >so if anyone knows either the answer to the question, or simply how Python
> is
> >being envoked I'd it would really help.
> >
> >Regards
> >Simon H
> >
> >
> >-----------== Posted via Deja News, The Discussion Network ==----------
> >http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own
>
>

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




More information about the Python-list mailing list