ASP End Method

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

filter_none

edit
close

play_arrow

link
brightness_4
code

<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>

chevron_right


 Output: 

GeeksforGeeks
My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.