home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / iis4_07.cab / Buffer_JScript.asp < prev    next >
Text File  |  1997-10-25  |  935b  |  54 lines

  1. <% @Language=JScript    %>
  2.  
  3.  
  4. <%
  5.     // Turn Buffering on (this must be done before anything is sent
  6.     Response.Buffer = true;
  7. %>
  8.  
  9.  
  10. <HTML>
  11.     <HEAD>
  12.         <TITLE>This is Bogus HTML</TITLE>
  13.     </HEAD>
  14.  
  15.     <BODY bgcolor="white" topmargin="10" leftmargin="10">
  16.         
  17.         <!-- Display Header -->
  18.  
  19.         <font size="4" face="Arial, Helvetica">
  20.         <b>You shouldn't see this!!</b></font><br>   
  21.  
  22.     </BODY>
  23. </HTML>
  24.  
  25.  
  26. <%
  27.     // Clear everything already printed
  28.     Response.Clear();
  29. %>
  30.  
  31.  
  32. <HTML>
  33.     <HEAD>
  34.         <TITLE>Buffering Example</TITLE>
  35.     </HEAD>
  36.  
  37.     <BODY bgcolor="white" topmargin="10" leftmargin="10">
  38.         
  39.         <!-- Display Header -->
  40.  
  41.         <font size="4" face="Arial, Helvetica">
  42.         <b>Buffering Example</b></font><p>   
  43.  
  44.         This html was buffered on the server before it was sent.
  45.  
  46.     </BODY>
  47. </HTML>
  48.  
  49.  
  50. <%
  51.     // Send the new html
  52.     Response.Flush();
  53. %>
  54.