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
Explain client side state management system.
Is redux flux?
Am not able to move the controls on the form freely in asp.net 3.5 even though I selected the position as relative or absolute for those controls. What should I do to overcome this?
Which method has beenintroduced in asp.net 4.0 to redirect a page permanently?
Explain security types in asp.net?
Explain the role of global.asax?
What is viewstate parameter?
What does occur first in ASP.Net, Authentication or Authorization?
What is the viewstate in asp.net?
What is Pre-Render event in ASP.NET?
Explain model, view and controller represent in an mvc application? : asp.net mvc
Explain about Multi-Language integration?
How Can assign alias name for ASP.NET Web API Action?
How response object is related to asp's response object?
What symbol would you use to denote, the start of a code block in aspx views?