ASP Page display the previous page file name in address bar

Discussion in '.NET' started by mxia, May 19, 2006.

  1. mxia

    mxia

    Joined:
    May 19, 2006
    Messages:
    2
    Hi,

    I'm new in ASP .NET area. I created some simply pages (.aspx). Click on the button on the page will go to the next page. The problem is the link name on the address bar seems to be displaying the previous one.

    e.g. The first page is 'default.aspx', click button will go to the next page 'quesiton.aspx', then the next page will display 'result.aspx'. The first page is displayed fine, but when I go to the second (question) page, the link still shows "http://...//default.aspx", when I go to the next page (result), the link shows "http://...//question.aspx".

    I use Server.Transfer("questions.aspx") in the button click event in the 'default' page, and Server.Transfer("result.aspx") in the button click event in the 'question' page.

    Does anyone know how to solve this problem? Thanks.
    mxia, May 19, 2006
    #1
    1. Advertising

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. Matt
    Replies:
    0
    Views:
    3,528
  2. John Hann
    Replies:
    0
    Views:
    6,047
    John Hann
    Aug 21, 2004
  3. Matt
    Replies:
    9
    Views:
    70,773
  4. axelman
    Replies:
    1
    Views:
    911
    bruce barker
    Jul 18, 2008
  5. Matt
    Replies:
    9
    Views:
    529
    kaeli
    Aug 23, 2004
Loading...

Share This Page