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
Explain how to refresh an asp page on a single click of a button?
How can you change the primary scripting language for a page?
What is querystring collection in asp?
What is a variable in asp?
explain joints in .net.
What is aspx cs file?
What is application object in asp?
Name the control which would you use if you needed to make sure the values in two different controls matched?
Is asp a scripting language?
who is the best Trainer for ASP.NET MVC in Hyderabad?
What are the 3 types of internal controls?
hello,please can any one tell me who is best faculty for asp.net in naresh it....i heard that mr.nagaraju and mr.rakesh sing both are best..so i am confused to take one particular faculty. classes ...so please if any attend classes just give me clarity of teaching style..i mean ..who is best...
What is Response object? How is it related to ASP's Response object?
How do you administer security for my machine for an enterprise?
Write a program in ASP that connect with "Employee" Database and Select all records from "Emp" table and shown in tabular form.