The manual Page
Version française
     Method Response.End  
[ index | glossary | news | downloads | links ]
 
  introduction to ASP
writting in ASP
ASP variables
the ASP 3.0 objects
the object Request
   .TotalBytes
   .ClientCertificate
   .Cookies
   .Form
   .QueryString
   .ServerVariables
   .BinaryRead
the object Response
   .Status
   .Cookies
   .AddHeader
   .AppendToLog
   .BinaryWrite
   .Clear
   .End
   .Flush
   .Redirect
   .Write
 
news
glossary
downloads
 
guest book
credits
contact
 
 
research
 
last update
25/03/2002
Valid HTML 4.0!
Valid CSS!
Hit-Parade
Measure your audience

Synopsis

Response.End

This method stops definitively the processing of the current script, and forces the server to return to the client the current result. The server will never treat the rest of the script. If the flag Response.Buffer was set to True at the beginning of the script, the server empties and sends the content of the output buffer, and the rest of the script is not interpreted.

Example

In the following example, only "From me" will be sent to client:

<%
Response.Write("From me")
Response.End
Response.Write(" to you")
%>

Using the method End can lead to output bugs in the resulting page, because some HTML tags open at the beginning of the page might not be closed when the processing is stopped.

printable format printable format



Copyright © 2000-2002 themanualpage.org - This site is submissive to the terms of the GNU GPL and FDL licences.