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 round trip in asp.net?
What is ispostback method in asp.net? Why do we use that?
What are the advantages of passport authentication?
What is difference between view state and session state?
What is a postback in asp net?
Explain how can we inherit a static member?
What is the difference between the asp and asp.net?
What is route in web api?
Distinguish between Server-side and Client-side code with its functionality?
What is the use of worker process in asp.net?
How do I open an ashx file in windows 7?
Explain the difference between an exe and a dll?
how to transfer the file from client to server using asp.net
How do session tokens work?
What is the difference between debug and release?