[thelist] Stopping an asp page from executing

Brian Johnson brian at bnia.com
Wed Jul 10 13:08:01 CDT 2002


>
>
>Response.End will halt all processing.
>
>
>
Response.End terminates the execution and sends the buffer to the
client.  Additionally, use the .Clear and .Flush methods to control what
the client sees.

So, in psuedo-code...
<%Response.Buffer = True

buffer some of the page & do some operations

If errors Then

Response.Clear  which clears everything you've buffered thus far

buffer a customized error message

Response.End or Response.Flush to send the buffer to the client.

Check out http://www.stardeveloper.com:8080/asp_response.asp for more info.

-Brian





More information about the thelist mailing list