Open In App

ASP End Method

Last Updated : 31 Jul, 2020
Improve
Improve
Like Article
Like
Save
Share
Report

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

Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads