[Zope] Zope not waiting for long running database stored procedures

Dieter Maurer dieter at handshake.de
Tue Jul 27 16:20:51 EDT 2004


Tim Edwards wrote at 2004-7-27 11:55 +0800:
> ...
>The problem is  that when the user clicks the button to submit the form Zope
>doesn't seem to wait around for the stored precedure. The page reloads after
>about 30 seconds or so and nothing is ever heard from the stored proc.

Zope does wait for the storage procedure. As long at it takes...

When the page reloads, then this means that your browser
became active -- probably due to a "refresh" meta tag.
Beside the "refresh", many browsers have nasty (and difficult
to configure) timeouts. Of course, they are bad for long
running requests...


Stock Zope does not provide tools for easy UIs to long running
processes. There are some frameworks around, that help with
this kind of problems, e.g. "LocalProc" (for long running external
processes). Search for them...


-- 
Dieter


More information about the Zope mailing list