Tutorials
Resources
Forum
Reviews
Communities
Interview
Jobs
Projects
Training
Your
Ad
Here
Silverlight Games
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Polls
|
Revenue Sharing
|
Lobby
|
Gift Shop
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Nikhil Gaur
(70)
Nadheera V
(30)
Shameer
(18)
Last 7 Days
Nikhil Gaur
(621)
Anil Kumar ...
(582)
Abhisek Panda
(445)
more...
Resources
»
Articles
»
ASP.NET/Web Applications
»
what is the difference between server.transfer and response.redirect?
Posted Date: 20 Jun 2008
Resource Type:
Articles
Category:
ASP.NET/Web Applications
Author:
Bunty
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
to add tags.
(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
new forum 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:
ASP.NET/Web Applications
Post resources and
earn money
!
Related Resources
Sending E-Mail from Web Applications
Using SQLCacheDependency Class ASP.Net and SQL server 2005
Web Form Life Cycle
Deploying Pre-Compiled Web Applications
Cross Page PostBack
Sending a web Page as mail body using Gmail server
dotNet Slackers
About Us
Contact Us
Privacy Policy
Terms Of Use