Jump to content

Is there a way to auto reload a page?


tibberous

Recommended Posts

I have a page that needs to always be reloaded, but IE is using the cached version when the user hits their back button. I fixed it with a:

 

header("Cache-Control: no-cache, must-revalidate");

header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");

header("Pragma: no-cache");

 

But then it gives an expires warning and forces the user to reload it. Is there a way to just always load the new version from the server?

Link to comment
https://forums.phpfreaks.com/topic/140969-is-there-a-way-to-auto-reload-a-page/
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.