dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: What is the difference between Server.Transfer() and Response.Transfer() method?

Hybrid View

  1. #1
    Join Date
    Jul 2013
    Posts
    45

    What is the difference between Server.Transfer() and Response.Transfer() method?

    Hello Friends,
    Tell me, what is the difference between Server.Transfer() and Response.Transfer() method ?

  2. #2
    Join Date
    Jul 2013
    Posts
    8
    1) Server.Transfer() does not change the address bar, we cannot hit back.One should use Server.Transfer() when he/she doesn’t want the user to see where he is going. Sometime on a "loading" type page.While Response.Redirect() will send you to a new page, update the address bar and add it to the Browser History. On your browser you can click back.

    2) Server.Transfer() transfers current page request to another .aspx page on the same server.While Response.Redirect()redirects the request to some plain HTML pages on our server or to some other web server.

    3) Server.Transfer() doesn’t preserve Query String and Form Variables from the original request.While Response.Redirect() preserves Query String and Form Variables

  3. #3
    Join Date
    Jul 2013
    Posts
    45
    thanks for your information.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles