# Webpage has expired

**URL:** <https://www.ruby-forum.com/t/webpage-has-expired/115576>\
**Category:** Rails\
**Created:** [September 26, 2007, 2:07pm UTC](https://www.ruby-forum.com/t/webpage-has-expired/115576 "2007-09-26T14:07:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![teesea](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7feea3/32.png) [@teesea](https://www.ruby-forum.com/u/teesea)\
**Post date:** [September 26, 2007, 2:07pm UTC](https://www.ruby-forum.com/t/webpage-has-expired/115576/1 "2007-09-26T14:07:44Z")

</div>

Hi

I am currently getting this error in IE7

* * *

Most likely cause:  
The local copy of this webpage is out of date, and the website  
requires that you download it again.

What you can try:  
Click on the Refresh button on the toolbar to reload the page.  
After refreshing, you might need to navigate to the specific webpage  
again, or re-enter information.

* * *

when a user does the following

1. does not fill in all required fields in a search form
2. submits the form
3. is displayed the search form again with errors highlighted
4. corrects errors and submits form again
5. is displayed results page and then presses back button

I’ve googled this problem and this seems to be an issue with IE7 and  
form posts creating a page. Unfortunatley the solutions I’ve found of  
using get instead of post is not really possible as this problem  
occurs on all forms I have on my site, some of which can have a lot of  
data.

Any ideas about how I can get round this?

Cheers

Tony

---

<div class="post-metadata">

**Author:** ![teesea](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7feea3/32.png) [@teesea](https://www.ruby-forum.com/u/teesea)\
**Post date:** [October 1, 2007, 1:30pm UTC](https://www.ruby-forum.com/t/webpage-has-expired/115576/2 "2007-10-01T13:30:23Z")

</div>

bump

---

<div class="post-metadata">

**Author:** ![teesea](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7feea3/32.png) [@teesea](https://www.ruby-forum.com/u/teesea)\
**Post date:** [October 1, 2007, 3:44pm UTC](https://www.ruby-forum.com/t/webpage-has-expired/115576/3 "2007-10-01T15:44:23Z")

</div>

A) GET’s instead of POST’s are possible with a simple addition of an  
option  
during form creation. Just use them correctly.B) Ryan B. (I believe)  
did  
a Railscast on displaying the form again while going back (along the  
lines  
of redirect\_to :back with some other option. Can’t remember).  
C) Although there is appears to be a forum attached to this mailing  
list,  
'bump’ing the message does nothing for the cause.

Hope some of this helps.

On 10/1/07, teesea [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> * * *
> 
> > using get instead of post is not really possible as this problem

–  
Richard J Hancock  
Developer/System A.

---

<div class="post-metadata">

**Author:** ![teesea](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7feea3/32.png) [@teesea](https://www.ruby-forum.com/u/teesea)\
**Post date:** [October 4, 2007, 10:45am UTC](https://www.ruby-forum.com/t/webpage-has-expired/115576/4 "2007-10-04T10:45:23Z")

</div>

Thanks for the suggestion, I will look for the railscast you  
mentioned.

---

<div class="post-metadata">

**Author:** ![teesea](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7feea3/32.png) [@teesea](https://www.ruby-forum.com/u/teesea)\
**Post date:** [March 27, 2008, 1:32pm UTC](https://www.ruby-forum.com/t/webpage-has-expired/115576/5 "2008-03-27T13:32:41Z")

</div>

teesea wrote:

> Thanks for the suggestion, I will look for the railscast you  
> mentioned.

thanks for this post, I didn’t have lots of data to push to the server  
so changing the form\_for by adding :method =\> :get in the html options  
hash solved it for me.
