Results 1 to 4 of 4

Thread: Explain the Difference

  1. #1
    Contributing Member
    Join Date
    Jul 2006
    Answers
    50

    Explain the Difference

    I want to know the difference between Server.Transfer and Response.Redirect. Someone highlight me on this.


  2. #2
    Contributing Member
    Join Date
    Jul 2006
    Answers
    56

    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.


  3. #3
    Junior Member
    Join Date
    Feb 2007
    Answers
    3

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


  4. #4
    Contributing Member
    Join Date
    May 2007
    Answers
    60

    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
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact