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

Why we use asp.net for website development?

497


Where is cookie used in asp.net?

575


Explain About duration in caching technique

617


What are the difference between function and stored procedure in .net programming language?

251


How do I use a proxy server when invoking a web service?

523






How do you store a value in viewstate and retrieve them?

564


Can the unique key be null?

566


What is http only cookie?

496


What is asp.net mvc5? : Asp.Net MVC

530


How to count the number of objects present in a web page? How to count the number of radio buttons in a web page?

628


What is a multilingual website?

561


Why the javascript validation not run on the asp.net button but run successfully on the html button?

545


List the events in page life cycle.

551


Web API supports which protocol?

850


How many types of cookies are available in asp?

577