ASP only runs once

Michael Anderson m_anderson14 at hotmail.com
Tue Jun 25 15:12:40 EDT 2002


Hello,

I've been using python in my asp pages for over a year now with no
problems, and just ran into a problem I can't figure out. I installed
it on a new machine and my pages only run the first time you hit them.
After that they do nothing. Pages in VBScript and JavaScript run fine.

If you edit the file and save it, it will run one time and then
nothing. Since a regular script gets compiled to a .pyc on the first
execution, I'm guessing it is somehow related. But I don't know how it
works in an asp page. Has anyone had this problem? My configuration is
Win2000 Pro, IIS 5, Python 2.1.3, win32all build 145. I also tried it
with Python 2.2 and win32all 146 but get the same results.

Thanks.

Mike



More information about the Python-list mailing list