Jump to content

[SOLVED] IMAGE CACHING


drumhrd

Recommended Posts

Ok so I have a form that the user can upload a image, we display the image back for validation.  If they want to change it they can.  however the image seems to be caching. 

 

I validate the image change on the server, but the browser seems to keep the image cached.  I can manually refresh the browser and it works.  But of course this is not the desired result.

 

I am also using $_SESSION.

 

How do I clear the image cache and display the new file in the browser and keep my $_SESSION intact?

 

thanks.

Link to comment
https://forums.phpfreaks.com/topic/173061-solved-image-caching/
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.