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
How do http sessions work?
Explain difference between dataset and datareader?
Explain the overview of asp.net?
If we remove web.config or machine.config from the application then, is this application will works?
What is the life cycle of an asp.net page?
Describe session handling in a webfarm?
What are the different web pages?
Differentiate the session object and application object?
List all templates of the repeater control.
Define common type system?
What is meant by server side scripting?
What are the various types of cookies in asp.net?
What types of data validation events are commonly seen in the client-side form validation?
Why web api is better than wcf?
Explain Areas in MVC?