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
What is the difference between ASP Session State and ASP.Net Session State?
Explain authorization levels in .net ?
Where you store Connection string in "Web.Config" file in ASP.NET?
How do I open an ashx file?
Why select Web API?
What is the difference between equals() and == in c#?
What is the used of "ispostback" property?
How do sessions work?
Which data type does the rangevalidator control support?
What are the namespaces used in asp.net mvc? : asp.net mvc
What is scope of an application variable in asp.net?
Differentiate between client-side and server-side validations in web pages.
How do u deploy your asp.net application?
Will the asp.net validators run in server side or client side? How do you do client-side validation in .net?
Can user control be stored in library?