Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to stop Document Expired security message

  • 7 replies
  • 13 have this problem
  • 9 views
  • Last reply by jrwhart

more options

What is the config setting to stop Firefox putting up the Document Expired message when using the Back button? I don't regard the security 'risk' of automatically reloading the page as being significant.

comment deleted
from a moderator: please do not tell a support contributor not to respond to your support thread

What is the config setting to stop Firefox putting up the Document Expired message when using the Back button? I don't regard the security 'risk' of automatically reloading the page as being significant. ''comment deleted'' <br /> ''from a moderator: please '''do not''' tell a support contributor not to respond to your support thread''

Modified by the-edmeister

All Replies (7)

more options

Did you try this:

go to about:config in location bar

search for browser.sessionstore.postdata

set value to -1

Some people say it doesn't work though. https://support.mozilla.org/en-US/questions/922734

more options

This issue is caused by sites instructing Firefox not to cache the page. When you go back to the page, Firefox honors the site's instructions and requires you to regenerate the request. When it's a POST request, this requires an extra confirmation. Yes, that is annoying.

In many cases, you can work around this by opening links off the page in a new tab or new window.

If that isn't an option, you may need a program to modify the site's instructions (the cache headers) on the fly -- before they are received by Firefox. While it might be possible to do this with a Firefox extension, in a brief search, I didn't see any extensions that mentioned it. In an unrelated forum, I saw a suggestion to use an external proxy application such as Proxomitron.

more options

I am attaching the HTTP Response Headers for a forum site where going back to your search results displays a Document Expired message. If there is any other way to tell Firefox not to cache the page -- in other words, to force a fresh request every single visit to the page -- I'm not aware of it.

more options

N.B. Apparently fx21 still in use.

Comment OP dugeen1 from duplicate postpost now locked /questions/969465

"I still need to know how to stop the 'document expired' message coming up when I reload certain pages. "

Modified by John99

more options

this nuisance occurs when returning to home page from a visited site so I can not see why the visited site would/could object to that

more options

Hi jrwhart, I don't think the site's goal is to chase you away, but for you always to see fresh information when you load that page. In the case of pages generated by a form submission, Firefox shows warnings instead of reloading automatically. I haven't learned of any workarounds.

more options

I have a workaround, get a programmer with a brain to look at the problem saving a return address was a basic function, initially pf3, this crap we are fed about sites objecting to this procedure is just that misinformation to cover up incompetence.