-
Contributing Member
Explain the Difference
I want to know the difference between Server.Transfer and Response.Redirect. Someone highlight me on this.
-
Contributing Member
Re: Explain the Difference
Response.Redirect simply sends a message down to the browser, telling it to move to another page.Simliarly Server.Transfer sends the user to another page but this conserves server resources. Also Server.Transfer maintains the original URL in the browser. Server.Transfer method also has a second parameter called as preserveForm.
-
Junior Member
Re: Explain the Difference
Server.Transfer is generally used to redirect to a particular page in Local Projects... within a company with its internal LAN.
Response.Redirect is used in internet projects...
-
Contributing Member
Re: Explain the Difference
The main diffrence between these two is Response.redirect make a call to the server twice bcoz when ever u r redirecting the client from one page to another webpage by using Response.redirect server will send the correponding webpage address to the browser then browser again will make a call to the server......when it comes to u the server.transfer server itself will transfer the control u can see the first webpage in the address bar of the browser in case of server.transfer and another diffrence is u can use querysrings in response.redirect but u can't in server.transfer.....
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