blank page using redirect.response

  • Thread starter Thread starter Grant
  • Start date Start date
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
 
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.
 
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
 
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.
 
Back
Top