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
Why do we use datasource in asp.net?
How you can access the values from the Repeater control in ASP.NET?
What is authorization in asp.net?
What is the difference between the get method () and post method ()?
How to use multiple scriptmanager controls in a web page?
Why do we need master page in asp.net?
Are cookies stored on server or client?
Describe the diffeerence between inline and code behind?
What is .net remoting?
Why asp.net mvc is better than asp.net? : Asp.Net MVC
What is a server cookie?
List of words of preprocessor in .net?
Explain how is a property designated as read-only?
Write code to send e-mail from an asp.net application?
What are the two types of web pages?