|
.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 quoteHide 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 quoteHide 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 >> >> >> > >
Other interesting topics
Embedding an image in the html?
File security weirdness createing file. .net objects to javascript? Javascript to Set Focus to TextBox Comparing values between two arrays Compressing and spanning files on upload ASP.NET License or Royalties Modification by JavaScript function won't stay, why? When to use FormsAuthenticationTicket() Cant start debugging - Tearing Hair From Scalp In HUGE CHUNKS ! |
|||||||||||||||||||||||