Juliano 的个人资料Juliano [Knowledge is ev...照片日志列表更多 工具 帮助

日志


2月20日

Server.Transfer X Response.Redirect

Many of us choose which redirection method we should use without knowing how it really works. The truth is that even myself never searched about this, that's why I like to participate in dicussion forums, so I can learn more things trying to help other people.

Summarizing, the Server.Transfer method is very useful when we want to exchange information, because what is in the HttpContext is transferred to the page used int Server.Transfer.

The Response.Redirect method is more user friendly because it shows the real page (URL) that is being shown to the user.

If you want more information, here is a link that can help you: http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=15

 

PS: If you find any mistakes in my english translation, please help me giving suggestions in a post comment.