Difference Response.Write,Server.transfer

Posted by Raja_89 under C# on 3/28/2013 | Points: 10 | Views : 2996 | Status : [Member] | Replies : 1
Hai
What is the difference between response.Redirect("location",bool value); and server.transfer
what is use of bool value[true,False]
Which is one is ideal and explain the concept

Regards




Responses

Posted by: aswinialuri-19361 on: 3/28/2013 [Member] Starter | Points: 25

Up
0
Down
hi
Respose.redirect
---------------------------------------------------
Respose.redirect can use another appliaction url.
It has round trip.
Its much slower than server.transfer.

Server.transfer
---------------------------------------------------
In server.transfer we can use with in that application only.
It has not round trip.
it has faster than response.redirect
Thanks& Regards
Aswini Aluri

Mark as Answer if it helps you
Thanks&Regards
Aswini Aluri

Raja_89, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response