ASP Session Timeouts with Python

Dave Rogers drogers at sequoianet.com
Wed May 2 13:52:46 EDT 2001


I'm working on a fairly "large" web site powered by ASP/Python/IIS.

I've noticed that when the session timeouts (abandons), I get a useless
"HTTP 1.1 500 Error" about 5% of the time.  There is no additional
information even though I raise all caught exceptions and have seen the
tracebacks when I have reproducible problems.

I have posted earlier about a cookie problem I have that I can produce
at about the same frequency.  They are two different problems as I have
seen the expiration problem on every page and the cookie problem only on
a single page (the session had not expired).

I'm wondering how people have configured IIS such that their sessions
expire properly.  I am only setting a few very basic strings in the
Session object.  I'm not testing my luck with trying to store any
objects (no pickling or anything).  Any ideas?

Thanks,

Dave Rogers.
drogers at sequoianet.com




More information about the Python-list mailing list