[python-win32] ASP strangeness
Wed, 4 Dec 2002 10:27:02 -0700
Quoting Mark Hammond <email@example.com>:
> Check win32all-150 - it has some ASP problems fixed. If you still have a
> problem, please send me a small complete (should-be) working sample.
More followup... The problem seems to be only related to database connections.
If I enter a page via a GET, the python code in my imported modules gets run,
but database queries return nothing. Even doing it with POST, if I enter a
page, all works fine, then I go to another page and back (via a POST) and the
problem crops up again, no data returning from queries.
I suspected in might be something to do with ADO, so I have tried it with
mxODBC to the same (Access) databases, and the problem is the same.
I'll try to come up with a small sample example that demonstrates the problem.
BTW, this is now using win32all-150.
> > Greetings!
> > I'm using python 2.2 with the current released win32 extentions (148 I
> > believe) on a Win XP Pro box. I'm putting most of my business
> > logic in modules
> > that I import from the ASP pages and just do formatting in ASP.
> > Most of the
> > time, things seem to be working great, but I noticed that if I
> > don't do an
> > http POST to the python asp page, the python classes that I
> > instantiate won't
> > initialize. If I post to the pages, they work as expected. These
> > seems very
> > odd; no errors are generated whatsoever.
> > Anyone have any ideas?
> > thanks!
> > Brian
> > _______________________________________________
> > Python-win32 mailing list
> > Pythonfirstname.lastname@example.org
> > http://mail.python.org/mailman/listinfo/python-win32
> Python-win32 mailing list