replacing ASP/VBScript with Python
Peter Maas
peter at somewhere.com
Tue Feb 15 14:22:28 EST 2005
Robert Brewer schrieb:
>>I'm now confident that it is doable and keen on finding out. The usual
>>question: what is the one and best way to do it? ;)
>
>
> Python ASP (pywin32), but put as little code as possible into the
> ASP--make it just a stub to call the real Python app. That app will be
> running persistently in the background, which should obviate most of the
> need for session support. That's been my experience, anyway.
Sounds reasonable. How do ASP-Python and IIS work together? Is the Python-
Interpreter loaded each time a Python-ASP is called?
> Here's an example (from
> http://www.aminus.org/rbre/cation/html/admin/ASP.html):
>
> <%@Language=Python%>
> <%
> from cation.html.uiasp import UserInterfaceASP
> from cation import catapp
>
> ui = UserInterfaceASP(catapp)
> ui.request(Request, Response)
> %>
That's interesting, thanks for the URL and your advice.
--
-------------------------------------------------------------------
Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0
E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64')
-------------------------------------------------------------------
More information about the Python-list
mailing list