Photos won't refresh after upload

I'm uploading photos in a form, then edit, and upload again, but shows the same photo until I refresh the page. Everything I find for pragma no-cache is for IE 4 or 5? Whats the deal?
How can I have my page show the newest image that I most recently uploaded? Is there a way to do with coldfusion? or maybe even htaccess?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gurvinder Pal SinghCommented:
did you tried removing that image element and creating the same again?

Also try this

document.getElementById("imgId").src = document.getElementById("imgId").src;

where 'imgId' is the id of the image
Gurvinder Pal SinghCommented:
check the second last reply of the thread in this link

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Gurvinder Pal SinghCommented:
please try this one liner code in following link
monosythAuthor Commented:
I ended up using something similiar to that:

<img src="/img/photo1.jpg?newest=#now()#">

where now() is the date down to the millisecond and browser thinks its a new image everytime.
Gurvinder Pal SinghCommented:
Thanks for the points
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ColdFusion Language

From novice to tech pro — start learning today.