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
difference between html and asp?
what is stored procedural
Can I use .net framework components from a com program?
Name the browsers that can access asp pages?
How do I open aspx files on windows 10?
What are private assemblies?
What is querystring collection in asp?
Name the methods by which output stream is controlled?
Write code for the following in ASP a)Display attributes of a file b) File copy c) get disk capacity.
Is asp a programming language?
can any one tell me about dot net framework not basic detail
explain joints in .net.
What is the difference between asp and aspx?
What are the stored procedures?
Which is the default scripting language on the client side?