ASP -response-flush-flushes-partial-data
<p>I am developing a web app with an ASP server side and I use an iframe for data push.</p>

<p>An ASP handler flushes every once in a while some javascript to the iframe:</p>

<pre><code>context.Response.Write("&lt;script language='javascript'&gt;top.update('lala');&lt;/script&gt;");
context.Response.Flush();
</code></pre>

<p>My problem is that sometimes, when I receive the data, I don't get the full text. For example I will receive this : update('lala');

<p>One workaround I have is to have a thread flushing '..........' every 500ms. (Then I will receive script>...... which will complete my javascript.)</p>

<p>However I am sure there must be a way to have Response.Flush() sending the whole chunk of data. Does someone have an idea on how to use properly Response.Flush() ?</p>

<p>Thank you!</p>
