<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I have defined this function as an handler:<br>
<br>
(defun my-handler ()<br>
(sleep 2)<br>
(no-cache)<br>
(with-html (:html (:body (:h2 " Wait Test Perfomed") ) ) )<br>
)<br>
<br>
and added (create-prefix-dispatcher "/tbnl/test/myhandler.html"
my-handler) as a list<br>
into *dispatch-table*.<br>
<br>
When I access <i><a class="moz-txt-link-freetext" href="http://linuxbox/tbnl/test/myhandler">http://linuxbox/tbnl/test/myhandler</a></i> I cannot see
anything but <br>
if I comment out (sleep 2) from my-handler everything works fine and
the message <br>
Wait Test Perfomed is displayed on the browser.<br>
<br>
Can you please explain me what is going on ?<br>
<br>
My purpose what to test TBNL under long-lasting function handler, like
handler accesing database via CLSQL.<br>
<br>
Thanks, <br>
<pre class="moz-signature" cols="72">--
ING. MASSIMILIANO CAMPAGNOLI
PAOLO ASTORI SRL
VIA MIRABELLA, 9
28013 - GATTICO
ITALY
</pre>
</body>
</html>