blank page using redirect.response

G

Grant

What is the difference between server.transfer(page.aspx) and
redirect.response(page.aspx)? Some of the users get a blank page if I use
redirect.response. I changed it to server.transfer because it works but what
is the difference?



Thanks
 
K

Kevin Spencer

Response.Redirect adds a header to the Response indicating that the browser
should request the URL supplied by the Response. Some very few browsers may
not support this or have it turned off. Server.Transfer transfers control of
the program flow to another URL on the server side, without asking the
browser for a second request.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
G

Grant

So I would better off use server.transfer? It seems to work better but I do
not want to create problems for the users.

Thanks
 
K

Kevin Spencer

So I would better off use server.transfer? It seems to work better but I
do

I can't answer that question. Obviously, both are used in different
situations, or there wouldn't be 2 methods.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 

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

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top