Name
End —
Response.End
Synopsis
Ends all storage of information in the response buffer and sends the current contents of the buffer immediately to the client. Any code present after the call to the End method is not processed. Any memory set aside by the script up until the call to End (such as database objects previously used in the script) is released.
Parameters
None
Example
See the previous example for the Clear method.
Notes
If the Buffer property is set to True, calling the
End method will flush the Response buffer exactly as if you had
called the Flush method (see the next section). However, unlike
calling the Flush method, no code after the call to End is processed
by the web server.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access