Refresh page error

Discussion in 'ASP .Net' started by Eric, Dec 23, 2005.

  1. Eric

    Eric Guest

    Hi,

    When my aspx (ASP2.0) page is being refreshed by the refreshbutton of the
    browser (ie) I get a message:

    "The page cannot be refreshed without resending the information....."

    How can I prevent this from happening?

    I would like it to be when the user forces a refresh, he will always be at
    the first starting page.

    I.e.: he is at: http://mypage.aspx?page=2 and the refresh will send him to
    http://mypage.aspx?page=1

    TIA,
    Eric
     
    Eric, Dec 23, 2005
    #1
    1. Advertising

  2. Eric

    Marina Guest

    That happens right now not only with ASP.NET 1.1, but any other time you are
    hitting refresh on a page that was a result of a POST regarless of what
    technology was used to generate it. This is just how it works.

    "Eric" <> wrote in message
    news:43ac4268$0$10084$...
    > Hi,
    >
    > When my aspx (ASP2.0) page is being refreshed by the refreshbutton of the
    > browser (ie) I get a message:
    >
    > "The page cannot be refreshed without resending the information....."
    >
    > How can I prevent this from happening?
    >
    > I would like it to be when the user forces a refresh, he will always be at
    > the first starting page.
    >
    > I.e.: he is at: http://mypage.aspx?page=2 and the refresh will send him to
    > http://mypage.aspx?page=1
    >
    > TIA,
    > Eric
    >
    >
    >
     
    Marina, Dec 23, 2005
    #2
    1. Advertising

  3. Eric

    Eric Guest

    So there is no solution to prevent it or redirect as described?


    "Marina" <> schreef in bericht
    news:%23Gu0Ub$...
    > That happens right now not only with ASP.NET 1.1, but any other time you
    > are hitting refresh on a page that was a result of a POST regarless of
    > what technology was used to generate it. This is just how it works.
    >
    > "Eric" <> wrote in message
    > news:43ac4268$0$10084$...
    >> Hi,
    >>
    >> When my aspx (ASP2.0) page is being refreshed by the refreshbutton of the
    >> browser (ie) I get a message:
    >>
    >> "The page cannot be refreshed without resending the information....."
    >>
    >> How can I prevent this from happening?
    >>
    >> I would like it to be when the user forces a refresh, he will always be
    >> at the first starting page.
    >>
    >> I.e.: he is at: http://mypage.aspx?page=2 and the refresh will send him
    >> to http://mypage.aspx?page=1
    >>
    >> TIA,
    >> Eric
    >>
    >>
    >>

    >
    >
     
    Eric, Dec 24, 2005
    #3
    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. brian lanning
    Replies:
    0
    Views:
    617
    brian lanning
    Jul 29, 2003
  2. Lenny Shprekher
    Replies:
    0
    Views:
    2,346
    Lenny Shprekher
    Feb 23, 2005
  3. Per Magnus L?vold
    Replies:
    1
    Views:
    5,193
    John C. Bollinger
    Oct 8, 2004
  4. Pkenty
    Replies:
    0
    Views:
    421
    Pkenty
    May 28, 2004
  5. Jawahar Rajan
    Replies:
    1
    Views:
    307
    Adrienne
    Oct 1, 2003
Loading...

Share This Page