What is difference between Server.transfer and
Response.redirect ?
Answer Posted / yugandhar reddy
Request.Redirect tranfers the user to the new page.The new
page can be in the same application or outside the
application.Browser upgradation of new url i.e round trip
to client takes place.It cannot take the current form
control values to the new page byitself.using querystring
only it can take.
ex: Request.Redirect("Default2.aspx");
where as Server.Transfer redirects to the new page that
should be present in the same application.single trip takes
place i.e no browser upgradation of new url.It can take
current for control values to the new page using
preserveform attribute.
ex : Server.Transfer("Default2.aspx");
Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Define a variable in asp?
Explain the difference between server.transfer and response.redirect?
What is msmq?
What does asp stand for in technology?
Define querystring collection?
Explain the tasks performed by <> tags?
What purpose is served by the application.lock method?
i learnt .net and would like to know if there is any institute in hyderabad that gives real time knowledge.i worked on testing and planning to move on to .net putting same amount of experience in .net.kindly suggest me the institute and other details.
What is the difference between cshtml and aspx?
What are the browsers that can access asp pages?
How do in-process and cross-process communication work in the common language runtime?
What is a variable in asp?
How to display images using response object?
What is the difference between asp and acp?
What is querystring collection in asp?