Image upload problem
-
Hi, I am uploading an image and replacing existing image. I have upload button that I am uploading the image with. How can I write code such that the uploaded image displays immediately. If I use different file name for the image the file displays by setting up imageurl. However if I want to use the same file name as this image has to be displayed in other web application that runs on asp, the image does not load until I do a manual refresh of the page. It does not load even if I do a response.redirect to the same page. I believe it may be cache problem, if it is how to rectify it?
Raj D
-
Hi, I am uploading an image and replacing existing image. I have upload button that I am uploading the image with. How can I write code such that the uploaded image displays immediately. If I use different file name for the image the file displays by setting up imageurl. However if I want to use the same file name as this image has to be displayed in other web application that runs on asp, the image does not load until I do a manual refresh of the page. It does not load even if I do a response.redirect to the same page. I believe it may be cache problem, if it is how to rectify it?
Raj D
It is by design. If you want to override you can avoid caching of the image thus incurring a performance overhead. You can observe this syndrome in your CodeProject members page also.
Vasudevan Deepak Kumar Personal Homepage Tech Gossips
-
It is by design. If you want to override you can avoid caching of the image thus incurring a performance overhead. You can observe this syndrome in your CodeProject members page also.
Vasudevan Deepak Kumar Personal Homepage Tech Gossips