[hunchentoot-devel] Displaying partial output from the handler?
Pierre THIERRY
nowhere.man at levallois.eu.org
Tue Mar 27 03:08:58 UTC 2007
Scribit Tobia dies 26/03/2007 hora 21:51:
> Although, if the operation is very lengthy (say, more than a minute)
> you should consider an anyncronous approach: a separate working thread
> plus client-side page refreshes (or AJAX or an iframe) for status
> polling.
AJAX is maybe a bit overkill here. Many sites just show an intermediate
page with an immediate refresh to goes to the URL of the lengthy
computation.
As all browsers won't redraw anything before they get data, you can then
use the "data as return value" paradigm for both handlers, the
intermediate page and the lengthy computation.
Alternatively,
Pierre
--
nowhere.man at levallois.eu.org
OpenPGP 0xD9D50D8A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://mailman.common-lisp.net/pipermail/tbnl-devel/attachments/20070327/e553d7e6/attachment.sig>
More information about the Tbnl-devel
mailing list