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

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

  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. 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. brian lanning
    Replies:
    0
    Views:
    830
    brian lanning
    Jul 29, 2003
  2. Lenny Shprekher
    Replies:
    0
    Views:
    2,483
    Lenny Shprekher
    Feb 23, 2005
  3. TS
    Replies:
    8
    Views:
    1,196
    Wessel Troost
    Jul 27, 2005
  4. Replies:
    0
    Views:
    507
  5. michaeltorus
    Replies:
    0
    Views:
    776
    michaeltorus
    Nov 25, 2005
  6. Per Magnus L?vold
    Replies:
    1
    Views:
    5,641
    John C. Bollinger
    Oct 8, 2004
  7. Pkenty
    Replies:
    0
    Views:
    597
    Pkenty
    May 28, 2004
  8. Jawahar Rajan
    Replies:
    1
    Views:
    415
    Adrienne
    Oct 1, 2003
Loading...