CGI newbie question

Adam Ruth aruth at intercation.com
Wed Feb 16 20:22:40 EST 2000


Hello,

I've got a CGI question.  Is there any way to tell in the middle of
running a CGI script that the client has disconnected?  When using ASP,
there was a way to do this, but using CGI (with Python), I can't find a
way to tell.  My concern is that a user may start a long query (30
seconds or so) and impatiently give up and start another.  After doing
this a few times, they could be waiting for several minutes, not to
mention slowing everyone else down.

I've looked at PyApache and Httpdapy but I can't tell if they will
provide me with the information I want.

Any helpful suggestions?

Thanks in advance,

Adam Ruth

P.S. Please reply to my e-mail becuase my ISP's news server randomly
deletes messages and I'd hate to miss yours!




More information about the Python-list mailing list