Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between Server.Transfer and
Response.Redirect? Why would I choose one over the other?

Answer Posted / ish rastogi

server.transfer is provide faster redirect way for the web
page in comparable to the response.redirect beacuse in te
case of server.transfer ,the page is redirect (one page to
another page)directly from the server means no round
triping is used.but in the case of response.redirect
firstly the client(browser)send the page request to the
server and the server send the request to the page means
one round triping process is used.
in the server.transfer the page can be redirect from
first page to the second page(continuousally)but in
response.redirect the page can be redirect from first page
to any page.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is round trip in asp.net?

941


What is ispostback method in asp.net? Why do we use that?

1240


What are the advantages of passport authentication?

1029


What is difference between view state and session state?

865


What is a postback in asp net?

1105


Explain how can we inherit a static member?

989


What is the difference between the asp and asp.net?

990


What is route in web api?

1029


Distinguish between Server-side and Client-side code with its functionality?

1146


What is the use of worker process in asp.net?

1018


How do I open an ashx file in windows 7?

1077


Explain the difference between an exe and a dll?

1016


how to transfer the file from client to server using asp.net

1121


How do session tokens work?

958


What is the difference between debug and release?

1088