troubleshooting Question 2.0 fileupload and image overwritting

Avatar of Swapnil
SwapnilFlag for India asked on
.NET ProgrammingASP.NETWeb Applications
2 Comments1 Solution1149 ViewsLast Modified:
Hi Experts,

Controls used: Asp file upload control , 2.0,IE/Mozilla

Newly uploaded Image doesnt appear on the browser window even after refreshing the page, if I upload a different image with the same filename as the previously uploaded one.

1)     I have uploaded bipin.jpg to the server and preview displays bipin.jpg

2)     I have changed an existing image rohan.jpg to the server and preview displays rohan.jpg

3)     I have changed the name of rohan.jpg to bipin.jpg and try uploading and now the image displayed in the browser is still that of bipin.jpgs last content.(ideally it should display the photo of rohan as I just changed the image file name of rohans image to bipin)

I have tried with clearing cache in browser as well as in code but didn't work. please can you suggest me the solution for this weired behavior?

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros