Tutorials
Resources
Forum
Interview
Jobs
Projects
Offshore Development
Silverlight Tutorials
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Revenue Sharing
|
My Profile
Sign In
Register
AdSense Revenue
Gifts
Active Members
Today
kanagarajum
(117)
Meetu Choudhar...
(111)
Vivek
(90)
Last 7 Days
Meetu Choudhar...
(758)
Appukuttan
(512)
Mari raj k
(443)
more...
what is the difference between server.transfer and response.redirect?
Posted Date: 20 Jun 2008 Resource Type:
Articles
Category:
Web Applications
Posted By:
Satyanarayan SushilKumar Bajoria
Member Level:
Diamond
Rating:
Points
: 2
Hi,
This the most important question that u face in ASP.net.
1>Response.redirect sends message to the browser saying it to move to some different page while Server.transfer does not send any message to the browser but rather redirects the uyser directly from the server itself.So in Server.transfer their is no round trip while Response.redirect has a round trip hence puts a load on the server.
2>Using Sever.transfer you cannot redirect to a different server itself while using Response.redirect you can redirect to a different server also.
3>With Server.transfer you can preserve your information.It has a parameter called as "preserve form",so the existing query string etc will be avilable in the calling page.This is not possible in Response.redirect.
Responses
No responses found. Be the first to respond and make money from
revenue sharing program
.
Feedbacks
Popular Tags
What are tags ?
Search Tags
Sign In
(No tags found.)
Post Feedback
This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
This thread is locked for new responses. Please post your comments and questions as a
separate thread
.
If required, refer to the URL of this page in your
new post
.
Next Resource:
Sending E-Mail from Web Applications
Previous Resource:
PayPal Integration sample using C#
Return to Discussion Resource Index
Post New Resource
Category:
Web Applications
Post resources and
earn money
!
Related Resources
cookies in asp.net
Client Side State Management Using Cookies
Improve performance with the EnableViewState property
Client Side validations for Text Boxes against white spaces, Date, Email
Print Data without prompting using javascript
dotNet Slackers
BizTalk Adaptors
Web Design
conference calls
Contact Us
Privacy Policy
Terms Of Use