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

How is the asp.net mvc architecture different from others? : asp.net mvc

560


What is event bubbling?

689


What is the difference between mechine.config and web.config?

841


How do cookies work? Give an example of their abuse.

622


What is the difference between cookie and session?

579






In a webservice, need to display 10 rows from a table. Which is the best choice among datareader or dataset?

761


What are validator? How do you disable them?

698


What is ASLM?

771


Explain how is a property designated as read-only?

645


What is meant by asp.net?

619


What is special types forms

628


If you want to write your own dot net language, what steps you will you take care?

611


Securitywise What are the Enhancements in 2.0?

1575


Explain how viewstate is being formed?

625


What can we do with asp.net?

584