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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top