Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
Response Object
All Collections
All Methods
All Objects
All Properties
METHOD: Response.End
Response.
End
The
End
method orders the web server to stop processing the script. The current results are returned and no further processing occurs. If
Response.Buffer
is set to
True
,
Response.End
will flush the buffer and then end.
Note that in ASP version 2.0, the default for
Response.Buffer
is set to
False
, however in ASP version 3.0, the default for
Response.Buffer
is set to
True
.
In the example, the second
Response.Write
will not be displayed in the output.
Code:
<%
Response.Write "Hello World"
Response.End
Response.Write "Is this the End?"
%>
Output:
Hello World
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information