Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?
Answer / Praveen Singh Yadav
Server.Transfer performs an internal redirect without causing a round-trip to the client, while Response.Redirect generates a new HTTP request to the browser. Server.Transfer preserves the current state and viewstate, but it does not allow cross-application redirection or URL modification. Response.Redirect allows for custom URLs and can be used for cross-application redirects, but it doesn't preserve viewstate. You may choose one over the other based on the specific requirements of your application, such as preserving state or allowing URL manipulation.
| Is This Answer Correct ? | 0 Yes | 0 No |
How many types cache in asp net?
how can u create the forms authentication?and what is the difference between forms authentication and windows authentication?
What are the difference between overriding and overloading?
Define a static class?
Explain the advantages of asp.net.
About Global .asax ?
What are the built-in objects in asp.net?
Given an ASP.NET Web Form called WebFrom1, what class does the WebForm1 class inherit from by default? a) System.Web.Form b) System.Web.GUI.Page c) System.Web.UI.Page d) System.Web.UI.Form
what is Theme in Asp.net 2.0
What is the maximum length of textbox
What is a Repeater Control and how does it works? and what is the diffrence b/w Gridview,datalist and repeater control?
What is the difference between application state and caching?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)