The Clear method erases any buffered HTML output. It only erases the response body, it does not affect headers. You can use this method to handle error messages. Calling Clear will cause an error if Response.Buffer is not TRUE.
Response.Clear
Copyright 2001 Sun Microsystems, Inc. All rights reserved. Legal Notice.