Skip to content
Related Articles

Related Articles

Improve Article

ASP Flush Method

  • Last Updated : 31 Jul, 2020

The ASP Flush Method is used to send buffered Output immediately. This method returns a run-time error if the Response.Buffer set to False. 

Syntax:

Response.Flush 

Example: Below example illustrates the Flush method. The Response.Flush will not wait to complete the whole script to return the output to the client.

HTML




<!-- Flush method set to true -->
< % Response.Buffer=true% >
<html>  
   <body>
       
<p>GeeksforGeeks</p>
  
       
<p>Hello Geeks</p>
  
     <% Response.Flush%>
   </body>
</html>

Output:

GeeksForGeeks
Hello Geeks 
My Personal Notes arrow_drop_up
Recommended Articles
Page :