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
How is the asp.net mvc architecture different from others? : asp.net mvc
What is event bubbling?
What is the difference between mechine.config and web.config?
How do cookies work? Give an example of their abuse.
What is the difference between cookie and session?
In a webservice, need to display 10 rows from a table. Which is the best choice among datareader or dataset?
What are validator? How do you disable them?
What is ASLM?
Explain how is a property designated as read-only?
What is meant by asp.net?
What is special types forms
If you want to write your own dot net language, what steps you will you take care?
Securitywise What are the Enhancements in 2.0?
Explain how viewstate is being formed?
What can we do with asp.net?