Server.Transfer switches to the other page mid-request from the client's
perspective. Since it's all server side, the client has no idea the server's
done this. The URL in the browser will be the first page.
Response.Redirect sends back a 302 (IIRC) and a location for the new page
to request. So the browser makes a second request into the server for the
other page. The URL in the browser will be that of the second page since
the browser had to make the second request.
-Brock
DevelopMentor
http://staff.develop.com/ballen Dear all,
I have a problem to identify when I need to use
Response.Redirect("mypage.aspx") or Server.Transfert("myPage.aspx") ?
Does any one have any tips for remembering ?
regards
thanks
serge