Geeks Talk

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.

Explain the Difference

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....

Go Back   Geeks Talk > Software Development > VB.NET
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

VB.NET Visualbasic.NET

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-29-2006
Contributing Member
 
Join Date: Jul 2006
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Robert is on a distinguished road
Explain the Difference

I want to know the difference between Server.Transfer and Response.Redirect. Someone highlight me on this.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-30-2006
Contributing Member
 
Join Date: Jul 2006
Posts: 56
Thanks: 0
Thanked 3 Times in 2 Posts
Remasri is on a distinguished road
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.
Reply With Quote
  #3 (permalink)  
Old 02-16-2007
Junior Member
 
Join Date: Feb 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
kvijay9 is on a distinguished road
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...
Reply With Quote
  #4 (permalink)  
Old 06-06-2007
Contributing Member
 
Join Date: May 2007
Location: bangalore
Posts: 65
Thanks: 3
Thanked 10 Times in 6 Posts
hari.nattuva is on a distinguished road
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.....
Reply With Quote
Reply

  Geeks Talk > Software Development > VB.NET

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


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


All times are GMT -4. The time now is 08:51 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved