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
What purpose is served by the application.lock method?
How to add? tree view control in datagrid in asp.net using c#?
What is the difference between asp and saas?
In case of we are not saving the information as cookies. how server detects the same user?
What does asp mean in business?
How to handle error in asp
Where we get good training and LABS facility In C#.net courses in Hyderabad, I completed the classes in Peers even though im sure in good practice to get right position in jobs please help me who no well in this field?
What is difference between asp and aspx?
What is the difference between post and get method.
hello dear this quadir saif and im doing bca .i want hotel management project in asp.net (with backend sql).on my id (quadir2011@rediffmail.com)
define the functionality of web server in context to Active server page.
What is the Difference B/W Onclick() and Oncommand() in ASP.Net? If Possible Explain with Realtime Example?
What is asp in web technology?
Explain what are the attributes of the tags? What are their functions?
how to create overlay on div ?