How to check in CGI if client disconnected

Vishal vrshah at gmail.com
Sun Aug 24 13:25:03 EDT 2008


Hi,

   I am writing a CGI to serve files to the caller. I was wondering if
there is any way to tell in my CGI if the client browser is still
connected. If it is not, i want to execute some special code before
exiting.

   Is there any way to do this? Any help on this is appreciated :)

Regards,

-vishal.



More information about the Python-list mailing list