Open In App
Related Articles

ASP End Method

Improve Article
Improve
Save Article
Save
Like Article
Like

The ASP End Method is used to ensure the webserver to stop the processing of the scripts and it returns the current result. The remaining result will not be processed. 

Syntax:

Response.End 

Parameter Values: This method does not accept any parameter.

Example: Here we will stop the webserver to proceed farther after a specific position.

HTML




<html>
  <body>
      
<p
      GeeksforGeeks 
    </p>
  
    <!-- Calling the end method -->
    <% Response.End %>
      
<p>
    <!-- This paragraph is not sent 
         to the Browser -->
       Hello Geeks 
    </p>
  
  </body>
</html>


 Output: 

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