Open In App
Related Articles

ASP Flush Method

Improve Article
Improve
Save Article
Save
Like Article
Like

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 
Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 31 Jul, 2020
Like Article
Save Article
Similar Reads
Related Tutorials