What is difference between Server.transfer and
Response.redirect ?

Answer Posted / khaleek ahmad

1) In Response.Redirect previous page is not accessible
while in Server.Transfer it is optional.
Server.Transfer(URL,bPreserveForm);

2) Server.Transfer use only within the server.But
Response.Redirect can be use ouside the server.But it should
be a full path.

For more detail please see at
http://interview-preparation-for-you.blogspot.com/2010/12/difference-between-servertransfer-and.html

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you make it so that code runs when the security system is stopping it?

738


Define response object?

738


What is pdf aspx?

691


sir,please send me the NIC exam questions

1706


what is STLC in Testing

1788


What are the tasks performed by <> tags?

691


Define clientcertificate collection?

692


What are the tags necessary to be present within the tag ?

630


How do I open an asp file on a mac?

795


How do I save an aspx file?

736


What are the tasks performed by

tags?

686


What is the difference between the value-type variables and reference-type variables

691


Why we need stored procedures?

735


Is asp a scripting language?

666


Can I avoid using the garbage collected heap?

719