Folks, I''ve written a simple, multi-page Rails app which works fine except for one thing: often when my users click the browsers BACK button, they receive the "Warning: Page has Expired" message in IE, with the suggestion to hit the refresh button. If they do hit refresh, they are told that the information will be sent back to the page, and they have to hit "Retry" to proceed. I have no idea where to begin looking for this problem. Any ideas? Is there a timeout parameter somewhere...? Thanks, Marcus -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060525/83fda817/attachment.html
This is normal if the previous page was the result of a submitted form. On Thu, 2006-05-25 at 10:07 -0700, Marcus Blankenship wrote:> Folks, > > I''ve written a simple, multi-page Rails app which works fine except > for one thing: often when my users click the browsers BACK button, > they receive the "Warning: Page has Expired" message in IE, with the > suggestion to hit the refresh button. If they do hit refresh, they > are told that the information will be sent back to the page, and they > have to hit "Retry" to proceed. > > I have no idea where to begin looking for this problem. Any ideas? > Is there a timeout parameter somewhere?? > > Thanks, > Marcus > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/railsCharlie Bowman Programmer Castle Branch Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060525/a8826f2e/attachment.html
Charlie Bowman wrote:> This is normal if the previous page was the result of a submitted form. >Hi, Im having the same problem with going back to form data, is there any wayof fixing this? thanks -- Posted via http://www.ruby-forum.com/.
On 7/6/06, ben <ben@streamd.com> wrote:> Hi, > > Im having the same problem with going back to form data, is there any > wayof fixing this? >This is what happens if you press the back key to return to a page created by a POST request. One way around this is to create a back link that instead of actually going back instead recreates the previous page (with whatever was entered into the form before, prefilled). Hope that helps, Mathias.