tallberg Posted June 29, 2007 Share Posted June 29, 2007 Dear phpfreaks I have a consistent problem that needs knocking on the head. I have an image upload script that uploads an image and replaces the old image. The image that is displayed is sometimes that old image and the page must be manually refreshed to get the new one. I need the new image to be displayed with out have to manually refresh the page. So far I have identified the following: • Ive been testing in ie and firefox – the problem only happens in firefox. • If the upload script is activated more than once it works as desired – but not the first time. I need it to work the first time. • I have set the page to automatically refresh. – this works in ie, but firefox still needs a manual refresh. • I’ve included the following which makes no difference: • header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); • header("Cache-Control: no-cache"); • header("Pragma: no-cache"); Thank you if anyone know of an answer to this problem Link to comment https://forums.phpfreaks.com/topic/57696-image-upload-problem-new-image-not-displaying/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.