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
___________ and ____________ properity to be used to create localized version of a form
How can I see what assemblies are installed in the global assembly cache?
How do cross-process communication work in the common language runtime?
What is asp in java?
Define querystring collection in asp?
What app opens aspx files?
What do you need to run asp?
write a program for sorting of all students records in a class according to roll no. using ADO and corresponding database.
What is asp language?
Can I use the win32 api from a .net framework program?
How do I save an aspx file?
How to convert a string into an integer in .net?
why and how static variable retain their value after postback form ?
What is the maximum size of an array?
What are server-side includes?