Thanks for the response. To further clarify the details:
I am printing the empty strings in a for loop. So the processing happens in a loop when all the results from the query have been already retrieved and each record is now being processed inside the loop. I also update the display periodically with the total number of records processed(which is approximately after every 1/5th chunk of the total number of records in the result). Thanks, Salil Kulkarni On Apr 26, 6:01 pm, "Sebastian Bassi" <[EMAIL PROTECTED]> wrote: > On 26 Apr 2007 14:48:29 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > In order to work around this problem, I started printing empty strings > > (i.e. print "") so that the browser does not timeout. > > How do you print something while doing the query and waiting for the results? > I saw some pages that display something like: "This page will be > updated in X seconds to show the results" (X is an estimated time > depending of server load), after a JS countdown, it refresh itself and > show the result or another "This page will be updated in X seconds to > show the results". > > -- > Sebastián Bassi (セバスティアン) > Diplomado en Ciencia y Tecnología. > GPG Fingerprint: 9470 0980 620D ABFC BE63 A4A4 A3DE C97D 8422 D43D > Club de la razón (www.clubdelarazon.org) -- http://mail.python.org/mailman/listinfo/python-list