Response.Redirect Vs Server.Transfer
Why not use Server.Transfer instead of Response.Redirect especially if both pages are aspx?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sukesh MarlaRank #461 · 5.4K reputationPosted Sep 20, 2012, 7:39 PM EDT
Server.Transger is faster than the Response.Redirect
but if you want to to move to the page which are on some other server, let say if you want to redirect to www.Google.com from http://localhost:5233/Customers/Customer.aspx You cant use server.transfer.
In Server.Transfer even URL remain unaffected,
Check this is correct answer if it helped.