What is difference between response.redirect and
server.transfer ?

Answer Posted / minhajul islam

1. Redirect can redirect to outside page while Transfer can
use page only in the same project.
Example : Redirect("www.yahoo.com") while transfer can
only inside current project page.

2. Redirect does not transfer content of the page while
Transfer transfers controls of current to transferred page.
For example if we use Multi-Page form and need to access
components of each page then we can use Transfer but must
use CrossPagePostBack.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the recommended approach for asp.net mvc to globally intercept exceptions? What other functionality can be implemented with the approach? : Asp.Net MVC

605


witch is the best insistute in sharpoint course.what abt future of share point course.

2732


What is the advantage of using Windows authentication in a Web application?

669


Explain how cookies work. Give an example of cookie abuse.

795


What is difference between cache and session?

589






What is razor? : asp.net mvc

645


How do we implement bundling in MVC?

706


Are there any resources for drop-in replacements for the default css that comes with the ASP.NET Website template?

647


What are the differences between clr & cts?

628


What is the difference between equals() and == in c#?

654


Explain how caching in asp.net 2.0 is different from caching in asp.net 1.1?

626


Explain the boxing and unboxing concept in .net?

481


How should I destroy my objects in asp.net?

680


What is the use of autowireup in asp.net?

650


What is the sequence in which ASP.NET events are processed?

569