Server.Transfer

Discussion in 'ASP .Net' started by Ali Nasir, Aug 6, 2003.

  1. Ali Nasir

    Ali Nasir Guest

    Using Server.Trasfer the control is shiftewd to the form specified in the
    parameters of the Server.Transfer. however the URL still contains the
    Address of the calling form and not the Loaded form. Can anyone justify
    this.

    Ali Nasir
     
    Ali Nasir, Aug 6, 2003
    #1
    1. Advertisements

  2. Ali Nasir

    Marco Scheel Guest

    hi ali,

    thats by design. the server.transfer is done completly by the server. the
    client is not even notifyed. using response.redirect the client will be
    asked if it is ok to do the redirect, but also here you will look at the old
    url. you have to use javascript or a http-meta refresh.

    bye marco



    "Ali Nasir" <> schrieb im Newsbeitrag
    news:upL1zL%...
    > Using Server.Trasfer the control is shiftewd to the form specified in the
    > parameters of the Server.Transfer. however the URL still contains the
    > Address of the calling form and not the Loaded form. Can anyone justify
    > this.
    >
    > Ali Nasir
    >
    >
     
    Marco Scheel, Aug 6, 2003
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Adrian Bezzina
    Replies:
    0
    Views:
    658
    Adrian Bezzina
    Aug 7, 2003
  2. gh0st54
    Replies:
    6
    Views:
    8,764
    Natty Gur
    Aug 19, 2003
  3. ewolfman
    Replies:
    4
    Views:
    3,511
    ewolfman
    Feb 13, 2006
  4. -
    Replies:
    2
    Views:
    659
    Alan Krueger
    Jul 29, 2005
  5. JT

    Server.Transfer vs. Server.Execute

    JT, Sep 9, 2003, in forum: ASP General
    Replies:
    1
    Views:
    187
    Ray at
    Sep 9, 2003
  6. David C. Holley

    server.execute/response.redirect/server.transfer

    David C. Holley, Jan 17, 2004, in forum: ASP General
    Replies:
    6
    Views:
    601
    David Holley
    Jan 18, 2004
  7. Jim
    Replies:
    1
    Views:
    1,352
    Aaron Bertrand - MVP
    Jan 28, 2004
  8. Abdul Azeem

    Error Server.Transfer / Server.Execute ()

    Abdul Azeem, May 28, 2004, in forum: ASP General
    Replies:
    2
    Views:
    269
    Aaron Bertrand - MVP
    May 28, 2004
Loading...