I have a page with an editable table. I need users to be able to edit this and then post their changes. Everything works well until I redirect them to one page with new content (as for their changes). However, they see the old content.
If I press ctrl + f5 in the browser, they will be updated. I was wondering if there is a way to force this. This is my php code which does not help force update:
header('Cache-Control: no-cache, no-store, max-age=0, must-revalidate'); header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); // Date in the past header('Pragma: no-cache'); header( 'Location: http://www.bamozir.com/en/mtl-en/recent/general-info/cost
Eugen Rieck Solution is great for firefox, chrome and safari. But not in IE and Opera. Any idea how to fix this?
redirect php refresh
Nasim Dec 20 '11 at 3:26 a.m. 2011-12-20 15:26
source share