What is the difference between Server.Transfer & Response.Redirect

Skill/Topic: Advanced
A) No Difference
B) Server.Transfer needs a roundtrip, Response.Redirect does not
C) Response.Redirect needs roundtrip, Server.Transfer does not
D) Server.Transfer can transfer user between 2 applicaions

Showing Answers 1 - 13 of 13 Answers

rajaguru

  • Mar 6th, 2006
 

response.redirect

1.client

server.transfer

  Was this answer useful?  Yes

guru

  • Mar 6th, 2006
 

response.redirect

a.client side b.history maintained c.need round trip

server.transfer

a.server side b.history not maintained c.need not round trip

  Was this answer useful?  Yes

aparna

  • Mar 24th, 2006
 

option  c ) Response.Redirect needs roundtrip, Server.Transfer does not

in response.redirect it redirects the users browser to the next page i.eit make a trip back to the clients browser wher the clients browser gets redirected to the next page

in server.transfer  transfers page processing from one page to the next page without making a trip back to the user browser

  Was this answer useful?  Yes

Ravi Prakash Mishra

  • Apr 10th, 2006
 

Ans is "C"

Response.Redirect needs roundtrip, Server.Transfer does not

  Was this answer useful?  Yes

Dinesh Rajan

  • Jun 8th, 2006
 

Other Than Above said

Server.Transfer Accepts only aspx page as parameter

Response.Redirect Accepts both asp and html page

  Was this answer useful?  Yes

tungdh

  • Aug 25th, 2006
 

See this link to have the ans: http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=15

  Was this answer useful?  Yes

krishan_mahesh

  • Nov 27th, 2007
 

Response.Redirect needs roundtrip, Server.Transfer does not

Response.Redirect is out-of-context whereas Server.Transfer is in-context.
Examples:
Response.Redirect www . ggogle . com
Server.Transfer "..YourApplicationParticularWebPage.aspx"

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions