Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Explain the Difference within the VB.NET forums, part of the Software Development category; I want to know the difference between Server.Transfer and Response.Redirect. Someone highlight me on this....
|
|||||||
|
|||
|
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.
|
|
|||
|
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... |
|
|||
|
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.....
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Explain the Difference | christia | Unix/Linux | 1 | 07-30-2006 07:13 PM |
| Explain the Process in UNIX | sripri | Unix/Linux | 1 | 07-29-2006 04:19 PM |
| Explain this term | joel | Unix/Linux | 1 | 07-29-2006 04:18 PM |
| Explain about SMO in SQL Server 2005 | admin | Testing Issues | 0 | 05-29-2006 06:56 PM |
| Explain about TNSPING | admin | Oracle | 0 | 05-18-2006 08:53 PM |