Forum Moderators: open

Message Too Old, No Replies

Problems with Mozilla 1.1 posting forms

Back button wants to repost

         

bobriggs

5:22 pm on Sep 22, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'd like to find some kind of workaround for this if anyone knows of one, I don't know if I can add something to my headers like a cache control header to keep this from happening.

Here's the scenario.

1. Go to a page with a POST form on it, and send it
2. From the results page, click on any link to go to a third page
3. Now try to use the back button to get back to page one.

You can get back to page 2 (the form results) after reposting the data (bad). But the next back button wants to repost the original page again - and it DOES not go back. Cancel doesn't work either.

Here's a link that does the same thing on my page - if you want to see it in action:
[searchengineworld.com...]

Enter any old page to spider and post it. Then click on any link on the results page. Try to get the back button to go back to the original page. (And yes, I know you can drop down the history list from the little arrow to get there, but a lot of people don't know how to do this) And of course the other problem is re-posting the data.

I can't find anything on bugzilla about this. Can I set some kind of cache header to keep it from happening?

bobriggs

6:04 pm on Sep 22, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hmm, I had my disk cache set to 1KB, which is what I want it to be.

Setting it to 1000KB eliminates the problem I mentioned above.

However, I'd like to have 0 disk cache and only use a memory cache.