J
Jon Spivey
Experimenting with response.flush() but can't seem to get it to work. This
code
<%
response.write "<p>started</p>"
response.flush()
for i = 1 to 10000000
i = i +1
next
response.write "<p>ended</p>"
%>
Should it not write started to the screen straight away and then a couple of
seconds later, when the loops finished, write ended? When I test on XP Pro
and Windows Server 2003 the flush doesnt happen - the page takes a couple of
seconds to load up and then writes started ended at the same time.
Also found this article on aspfaq
http://www.aspfaq.com/show.asp?id=2498
but the response.flush() doesn't happen with that sample code either
Any ideas?
Jon
code
<%
response.write "<p>started</p>"
response.flush()
for i = 1 to 10000000
i = i +1
next
response.write "<p>ended</p>"
%>
Should it not write started to the screen straight away and then a couple of
seconds later, when the loops finished, write ended? When I test on XP Pro
and Windows Server 2003 the flush doesnt happen - the page takes a couple of
seconds to load up and then writes started ended at the same time.
Also found this article on aspfaq
http://www.aspfaq.com/show.asp?id=2498
but the response.flush() doesn't happen with that sample code either
Any ideas?
Jon