Hello guys, hope you can help.
I have a PHP script where users can upload and crop their profile photo, there's one problem though..
Sometimes after their account profile photo has been uploaded, it displays in the crop box, although when users actually go to crop sometimes they don't see an update and sometimes they do.
I tried adding a refresh button but that doesn't seem to do it.
The only way they can view the update is by pressing F5.
Ive tried adding:
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
in the html.
I even added:
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
in the PHP.
What can i do?
Many thanks
Lewis Stevens