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
Can you nest updatepanel within each other?
can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it
Can we store object in viewstate?
Describe the .net base class library.
Explain about Multi-Language integration?
How does viewstate work?
What are strong names?
Can you edit data in the Repeater control? Which template must you provide, in order to display data in a Repeater control? How can you provide an alternating color scheme in a Repeater control? What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?
Can I recieve both html markup for page and code in the asp.net web page's source code portion in the web browser?
How can we provide the WebParts control functionality to a server control?
Where is the session stored?
What is the difference between dispose() and finalize()?
What are the uses of list view control in Asp.net?
Which asp.net objects encapsulate the state of the client and the browser?
Why the javascript validation not run on the asp.net button but run successfully on the html button?