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 work flow gen? how can it will work with .Net?

2585


Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc

536


How do you use viewstate?

565


What is GAC in ASP.NET 2.0

601


How to create discussion forum in asp.net mvc? : Asp.Net MVC

541






Explain what is clr?

635


there is two functions function a and function b like fun a(){.... ..... } fun b() { } in function b i write the coding to add two numbers and i need to dispaly the sum result in function a with out using global variable. how we do?

2234


Do cookies store passwords?

513


What is css in asp.net?

557


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

592


Why is an object pool required?

623


1.what is the application pool. 2.what is the HttpModile and Http Handler. 3.C# 3.0 Features ? 4.Anonoymous Type,methopd and claas in 3.0? 5.difference between statsic and const ? 6.session vs application 7.state management clint side and server side ? 8.Genric list 9.c# 3.0 vs 3.5

1766


How would you implement inheritance using c#?

591


What are the two properties that are common on every validation control?

565


Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?

525