What is the difference between Server.Transfer and
Response.Redirect? Why would you choose one over the other?
Answer Posted / ramesh
Server.Redirect:
response the page or return output without any request from
the client(Browser)
ex
Server.Redirect("Demo.aspx")
Disadvantage
it does not allow query String
Request.Redirect:
send the request(page) to server and processed it, finaly
redirect to corressponding page
Response.Redirect("Demo.aspx")
Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
Explain the difference between singleton and single call?
Can we add code files of different languages in app_code folder?
When using the Pager object, inorder to know which page to go, which property you have to set to grid?
How do you implement sql caching in asp.net?
Explain in what order a destructors is called.
Explain what is an abstract class?
Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?
What are the main differences between asp and asp.net?
How to rename a table using sql queries?
A web service can only be written in .net? State whether true or false.
I am trying to implement sorting facility from client side code in GridView Control. So how can I fill up an Array inside client side code (using JavaScript), i want to assign my DataSet object declared and filled up on Server side(in code behind) to the array (on client side)
What does passport and windows authentication mean in ASP.NET?
Explain the use of errorprovider control in .net?
What is the maximum timeout we can set for Cookies?
Explain the function of new view engine in asp.net? : asp.net mvc