What is the difference between Server.Transfer and
Response.Redirect? Why would I choose one over the other?

Answer Posted / raghumadhav tirunagari

server.Trnasfer will prevent round trip. it will redirect
pages which or in the same directory. NO way to pass the
query strings . Thru http context we can able to get the
previous page control values.

Response.Redirect : There is a round trip to process the
request. We can redirect to any page external / internal
other than aspx. We can pass the query string thru which we
can manage sessions.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is dim fs as filestreamobject is a managed code? : Dot net architecture

576


How to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile

600


What is the use of TPL DATAFLOW?

633


How does an appdomain get created?

639


Can you explain server controls in atlas?

611






Explain about continuable exceptions?

619


What is Object Caching in Visual Studio 2010?

672


Can you Explain element .net mobile with example? : Microsoft dot net mobile

566


What is the application frame host?

622


What is the purpose of hard disk? : Dot net architecture

599


5. Wcf- Session Managment

1656


any one can explain about projectarchitecture and project approach briefly

2157


IS IT Possible to inherit the AJAX page from child class which(child) is inherit from page class.Because i should apply some security in child class

1640


How resource files are used in .net?

628


What is IL code, CLR, CTS, GAC & GC?

682