[Zope] timeout
Thomas Guettler
zopestoller@thomas-guettler.de
Fri, 01 Feb 2002 11:31:10 +0100
Ulrich Wisser wrote:
> Hi,
>
> one of my reports takes more than 5 minutes.
> This causes Zope to produce a timeout. Although
> it is no good idea to let the user wait that
> long, I would prefer to show a result anyway.
> How can I set the timeout?
One solution would be to start a thread which does the work. While the
thread
computes you return a html-page containing a refresh-tag.
The page which gets refreshed every X seconds checks if the result is
there, if not
it returns "please wait".
thomas