Christopher Green
Now with more Vitamin C!
posts - 41, comments - 30, trackbacks - 1
My Links
Home
Contact
Login
Archives
May, 2009 (1)
April, 2009 (1)
March, 2009 (1)
November, 2008 (1)
September, 2008 (1)
July, 2008 (1)
December, 2007 (1)
September, 2007 (1)
August, 2007 (3)
June, 2007 (4)
May, 2007 (1)
April, 2007 (1)
March, 2007 (2)
November, 2006 (2)
October, 2006 (2)
September, 2006 (2)
August, 2006 (1)
July, 2006 (1)
May, 2006 (7)
January, 2006 (5)
December, 2005 (1)
June, 2005 (1)
Image Galleries
BlogPics
<< Numeric input only for a HtmlInputField
|
Home
|
Convert a DLL to have a Strong Name using it's Type Library and TLBIMP >>
Server.Transfer instead of Response.Redirect
When transferring the user from one page to another in your web application use Server.Transfer() instead of Response.Redirect(). This saves a round-trip as ASP.NET transfers to and renders the new aspx page in the same request.
Print
| posted on Thursday, January 19, 2006 12:57 PM |
Feedback
#
re: Server.Transfer instead of Response.Redirect
It is an option for reducing server resource usage and maintaining the request/form between pages but dependent on your requirements it might not be appropriate - eg you can't use Server.Transfer to send the user to an external site, and it maintains the original URL in the browser which can be confusing for users and make apps difficult to debug
1/20/2006 10:10 AM |
Mary
#
re: Server.Transfer instead of Response.Redirect
Fair enough Mary. As I said its only for transfering between aspx pages within the same web application. And even then its not appropriate in all situations.
1/20/2006 11:18 AM |
Chris
Comments have been closed on this topic.
Powered by:
Copyright © Christopher Green