Jump to content

Document Expired?


doubledee

Recommended Posts

When I hit the back button in my browser I get this...

Document Expired

       

This document is no longer available.

       

The requested document is not available in Firefox's cache.As a security precaution, Firefox does not automatically re-request sensitive documents.Click Try Again to re-request the document from the website.

 

What is causing that?!

 

 

Debbie

 

 

Link to comment
https://forums.phpfreaks.com/topic/257565-document-expired/
Share on other sites

this is a problem in the Beta versions of firefox with the Cache.

 

I'm running FF 10.0.2  That isn't a "Beta"?!

 

 

you could add

Cache-Control: max-age=600

 

this sets it so the cache doesn't expire for at least 10 minutes.

 

Are there any downsides to that (e.g. security)??

 

 

Debbie

 

Link to comment
https://forums.phpfreaks.com/topic/257565-document-expired/#findComment-1320174
Share on other sites

shared cache can be a Security risk Yes. that is why firefox by default has it's security settings to expire after a certain amount of time. this can also be done server side as well in PHP.

 

what kind of documents is the code getting IE images/files  :confused:

 

 

if your getting a file or image inside a folder make sure the user has permission to 777 or 755. chmod wise.

Link to comment
https://forums.phpfreaks.com/topic/257565-document-expired/#findComment-1320213
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.