what is the difference between server.Transfer and
response.redirect in .net

Answer Posted / sivaprasad

Server.Transfer will execute at server side itself, through
this we can access previous page control's in next page.

Response.Redirect will work at client side means server
will send "Success" code to browser by saying send a
request for specific URL.based on this client will request
for the specific URL. if URL is not found in virtual
Directory client will give a message saying "Page not
found".

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In a page I have gridview with options of select and delete using hyperlink when I am selecting any one of then it has to open another page how can it?

510


If Instancing = Single use for ActiveX Exe, how will this be executed if there are 2 consecutive client requests ?

1977


What is an example of an application service provider?

457


What is the used of "ispostback" property?

569


How do u declare static variable and how it is declared and what is its lifetime?

521






Explain about the .NET framework?

576


Differentiate globalization and localization.

594


What are the uses of list view control in Asp.net?

618


Explain the use of resource manager class in .net.

508


What is web api vs wcf?

583


What are the merits and demerits of viewstate?

582


What is the difference between a multi-layer and multi-tier applications?

575


What are session state modes in asp.net?

554


Is it true that a Web service must be written in .NET or not?

581


Which control has default post back is enabled(true)?

611