What is the difference between Server.Transfer and
Response.Redirect? Why would you choose one over the other?

Answer Posted / swapna

Server.transfer redirects the output to another page
whereas response.redirect Redirects/moves the user to
another page .

If u want to submit output of one page to another page use
sever.transfer. if u want to navigate to another page use
Response.Redirect.

Is This Answer Correct ?    17 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are resource file and how do we generate resource file?

567


what is DLL Hell and how it is solved in .NET? please explain clearly??

1889


Explain about asp.net caching?

577


How many types of cookies are there in asp.net?

539


Write a code for sending an email from asp.net application.

540






Why mvc is better than asp.net? : Asp.Net MVC

472


What are the elements of a website?

522


Explain the updatepanel?

584


Explain the features that make asp.net more used framework? : asp.net mvc

485


What does the hotspot class in .net do?

569


Where code pages are used?

692


What are the two types of web pages?

522


What is the difference between Session and response.Redirect?

617


what are the web form events available in asp.net?

562


What are sql joins?

571