Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reliable response.flush?

Status
Not open for further replies.

nazzaro

Programmer
Jun 28, 2000
31
US
It seems that there are many situations in which &quot;response.flush&quot; does not cause the buffered content to be immediately displayed (due to the way the browser handles the content, probably).<br><br>Does anyone know what the specifics are of when a browser will/will not display the contents?<br><br>Is it really a browser issue, or are there situations in which response.flush just doesn't cause the content to be sent?<br><br>Anyone know of a reliable way to &quot;force&quot; response.flush to have the desired effect?<br><br>One specific situation I have is that, apparently, once I call a function, response.flush doesn't seem to cause content to be displayed (even if I make sure to add opening and closing HTML tags).<br><br>Anyone have any ideas about this?
 
nazzaro,<br><br>Browsers cannot display &lt;table&gt;'s until the end table tag is recieved since they don't know how to render it because you can change the number of columns in the last row, as an example.<br><br>Hope this helps<br>-pete
 
one of the reasons the Response Buffering exist is to hold back on displaying any content until all tags, and information has been processed, to avoid partially returned information, the other reason is that in any event of an error, the site can redirect to an error page, or to just redirect for any other purpose without a problem, buffering the response will not make the ammount of time shorter than it would normally take to retreive the page. If that was your thought. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top