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 autopostback in asp net?

762


Explain how asp.net page works?

765


Explain Session state management options in ASP.NET.

828


What is viewstate parameter?

725


What is server redirect?

734


Is asp.net still used?

762


Who generates session id?

679


How does asp.net page work?

713


Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?

765


Why do you use the app_code folder in asp.net?

770


What is the part of url?

722


Explain exception handling in .net.

837


How many types of Cookies are available in ASP.NET?

814


What is the difference between runtime version and version?

761


What are the different authentication modes in asp.net?

728