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

I want to create a project like google maps how can we do that with atlas?

485


Explain hard disk and what is its purpose? : Dot net architecture

518


Explain dma? : .NET Architecture

546


Explain write back and write through caches? : .NET Architecture

519


How does .net remoting work?

622






Define cache? : Dot net architecture

548


How is the using() pattern useful? What is idisposable?

516


Can you explain control extenders?

524


how to make and display a form without title bar?

1488


what is polymorphism and advantage ?

1522


What is the problem with .net generics?

607


Define pipelining? : Dot net architecture

611


What re interop services?

564


Explain pipelining? : Dot net architecture

596


Explain the difference between l1 and l2 cache? : .NET Architecture

558