-
Junior Member
asp question
what is the difference between response.redirect and server.transfer
-
Contributing Member
Re: asp question
Hi,
Difference between Response.Redirect and Server.Transfer are
1. Response.Redirect is a client side round trip and page History is maintained in case of it while Server.Transfer is a server side round trip page History is not maintained in this case.
2. Reponse.Redirect can pass querystring alongwih URL while Server.Transfer can't do that.
3. In Reponse.Redirect while Page Life cycle is executed while execution is stopped in Server.Transfer and control moved the target page.
---V V---
Vikas Vaidya
[Please mark this post as Thanks if u found this post useful]
-
Junior Member
-
Junior Member
Re: asp question
Response.Redirect("file like aspx,html,website etc")
here file can be any where ie it may be in our local system or in remote area like in the net anywhere it can get that and execute but it can't carry values.if we want to send any values we should use Query string which are the values we give in the url.
server.Transfer("file")
should be in the present system.it carries values
-
Junior Member
Re: asp question
The main differences is response.indirect can transfer querystring along with url
but server.transfer is send only data
-
Junior Member
Re: asp question
response.redirect is used to navigate between different webpages and websites also.....
in this user information can be maintaned from one page to another page using requst.querystring state management technique
server.transfer is used to navigate between webpages only....here user info can be maintained in the form of context....
-
Junior Member
Re: asp question
server.tranfer redirect the user directly to the server.So there is no round the trip . Hence there is no load on server
-
Junior Member
Re: asp question
The Diffrence B/T Res.redirct and server.trancefer is
when we apply response.redirect action will happen in the sampage ..
when we apply server.tranfer action will in the server.
-
Junior Member
Re: asp question
advantages of using master page in asp.net
-
Junior Member
Re: asp question
simplest way to describe the difference is that response .redirect locates another page in server whereas server.transfer transfer the user from one server location to another so user is travelling.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules