how to completely override the Response

  • Thread starter Thread starter Alex D.
  • Start date Start date
A

Alex D.

I tried:

Response.Clear();

Response.ClearContent();

Response.ClearHeaders();

But nothing seems to work. The page still sends a response. All I want to
do is to override the default response with my own response.

Any help?

Thanks, alex.
 
Odd though, should work, without removal of any html.
Response.Close() however, terminates the connection.
The user sees no response comming.
 
yes but I needed to send my own response so Response.Close() might not work
for me. I am not sure what the other "Clear" methods are for, but removing
everything from the html code except the <%@ Page language="c#" ....... this
works ok.
 
Back
Top