Sponsored By
DataConverter
Advertise with Us
Advertisement
Advertise with Us
Follow Us
Follow _MindStick_ on Twitter View MindStick Software's LinkedIn profile View MindStick Software's Facebook profile
Mindstick
Article Article  Forum Forum  Blog Blog  Quiz Quiz  Beginner Beginner  Careers Careers  Contact Contact  Login Login  
Home | Product | Services | About Us | Interview | DeveloperSection | Submit an Article | Submit Blog
Report Abuse Form
Reason:    
   

Home >> .Net >> ASP.Net >> Difference between Response.Redirect() and Server.Transfer()
Author Post

Sanjay Sharma


Total Post: 11
Member Since: 10/14/2010
Points: 57
Difference between Response.Redirect() and Server.Transfer()
Posted On: 10/18/2010 8:04:11 AM
What is the difference between Response.Redirect() and Server.Transfer()?
Author Post

Amit Singh


Total Post: 104
Member Since: 8/8/2010
Points: 702
Re: Difference between Response.Redirect() and Server.Transfer()
Posted On: 10/20/2010 7:26:51 AM
Server.Transfer is give better result than response.redirect
in Server.Transfer, it occures on serverside so it give fast performance than response becouse response is work on two network trip like client side and server side
In server.Transfer()
client makes request
server receives request
server transfers to different page (all done on the server)
new page is rendered and sent to client
In Response.Redirect()
client makes request
server receives request
server response to client with a redirect.
client receives redirect
client makes new (2nd) request
server receives request
 new page is rendered and sent to client
so response is done in two networktrip
Report Abuse Form
Reason:    
 
Total Online Users: 6386
Advertisement
MindStick DataConverter
Advertise with Us
  
Copyright © 2013MindStick. All Rights Reserved.