473,387 Members | 1,542 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

how to completely override the Response

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.
Jun 12 '06 #1
3 1063
forget it guys, is just a matter of deleting the html code from the page
:-)
"Alex D." <al********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
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.

Jun 12 '06 #2
Odd though, should work, without removal of any html.
Response.Close() however, terminates the connection.
The user sees no response comming.

"Alex D." <al********@hotmail.com> schreef in bericht
news:Ou**************@TK2MSFTNGP04.phx.gbl...
forget it guys, is just a matter of deleting the html code from the page
:-)
"Alex D." <al********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
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.


Jun 12 '06 #3
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.

"Edwin Knoppert" <ne**@hellobasic.com> wrote in message
news:44***********************@text.nova.planet.nl ...
Odd though, should work, without removal of any html.
Response.Close() however, terminates the connection.
The user sees no response comming.

"Alex D." <al********@hotmail.com> schreef in bericht
news:Ou**************@TK2MSFTNGP04.phx.gbl...
forget it guys, is just a matter of deleting the html code from the page
:-)
"Alex D." <al********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
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.



Jun 12 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Sacha Faust | last post by:
I have an abstract class, RuleResponse, and then create a new class base on it, RuleResponseSequence, and override the ++ operater. If I try to cast a RuleResponse as a RuleResponseSequence and...
8
by: bdeviled | last post by:
I am deploying to a web environment that uses load balancing and to insure that sessions persist across servers, the environment uses SQL to manage sessions. The machine.config file determines how...
1
by: Roy | last post by:
Hi, I have a problem that I have been working with for a while. I need to be able from server side (asp.net) to detect that the file i'm streaming down to the client is saved...
5
by: RC | last post by:
how to detect file is completely downloaded from client by following code? <%@ Page language="C#" debug="true" %> <script language="C#" runat="server"> private void Page_Load(object sender,...
2
by: ATS | last post by:
HOWTO Override ASP's Response output for 2003/IIS. Please help, I want to have an ASP page write back EVERYTHING to the ASP Response. That includes HTTP Headers. I want my ASP to look...
1
by: Ricardo Quintanilla G. | last post by:
how to override the rendering method of a whole asp.net applicaction? i want to not include spaces between html elements. As example, then rendering produce that: == == == == <html> <body>...
13
by: Ben Voigt | last post by:
Is there any way to have an overridden method which is not callable from the assembly overridding it? A contrived example (though I want this feature, my program has nothing to do with food...
4
by: Andrew Robinson | last post by:
I have a class that has three properties: two of type int and one of type string. Is this the best method when overriding the GetHashCode() ? I am guessing not... any thing better? public...
1
by: libish | last post by:
hi all.. can any one help me to kno whether i have received the response stream completely... below are the code that i'm using... but i'm not able to receive data completely.. some datas are...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.