|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Refresh page errorHi,
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 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. Show quote "Eric" <some***@MicroZoft.com> wrote in message news:43ac4268$0$10084$ba620dc5@text.nova.planet.nl... > 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 > > > So there is no solution to prevent it or redirect as described?
Show quote "Marina" <someone@nospam.com> schreef in bericht news:%23Gu0Ub$BGHA.3868@TK2MSFTNGP10.phx.gbl... > 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" <some***@MicroZoft.com> wrote in message > news:43ac4268$0$10084$ba620dc5@text.nova.planet.nl... >> 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 >> >> >> > > |
|||||||||||||||||||||||