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 file through which you can customize your asp.net application?

548


Can you dynamically assign a Master Page?

590


Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?

565


Explain Features in ASP.NET

576


What is the difference between user control an custom control?

615






What is a multilingual website?

565


Describe Segmentation With Paging?

632


Explain how can we inherit a static variable?

522


Where are session variables stored?

513


Explain how can we access static variable?

549


What are the benefits of view state?

554


benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks

1771


How to comment out asp.net tags?

632


Explain what are the advantages of asp.net mvc framework? : asp.net mvc

519


What is server redirect?

548