Forum: Ruby on Rails "Page has expired" problem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Marcus B. (Guest)
on 2006-05-25 21:10
(Received via mailing list)
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
Charlie B. (Guest)
on 2006-05-25 21:16
(Received via mailing list)
This is normal if the previous page was the result of a submitted form.

On Thu, 2006-05-25 at 10:07 -0700, Marcus B. wrote:

> Is there a timeout parameter somewhereâ?¦?
>
> Thanks,
> Marcus
>
>
> _______________________________________________
> Rails mailing list
> removed_email_address@domain.invalid
> http://lists.rubyonrails.org/mailman/listinfo/rails

Charlie B.
Programmer
Castle Branch Inc.
ben (Guest)
on 2006-07-06 12:48
Charlie B. 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
Mathias W. (Guest)
on 2006-07-06 17:36
(Received via mailing list)
On 7/6/06, ben <removed_email_address@domain.invalid> 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.
This topic is locked and can not be replied to.