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
What is the benefit of WebAPI over WCF?
What is postback in asp net?
What is the exact purpose of http handlers?
Explain the path instructions in xaml?
Is LINQ performance wise better or using sqlcommand?
Let's say I have an existing application written using vb6 and this application utilizes windows 2000 com+ transaction services. How would you approach migrating this application to.net?
What is a page life cycle?
How many types of sessions are there in asp net?
What is virtual directory in asp.net?
What is the file extension of web service?
What is the difference between application state and caching?
can any one find and tell the difference between dot net and php which one is best ? which one we get more salary? which one is stable and which one is best for freshers and also better in future and carrer ? which one we wil get more salary sir ? please send ur valuable suggestions to kiranpulsar2007@gmail.com
What is ascx?
Explain the components of web form in asp.net
What is the difference between “Web.config” and “Machine.Config”?