Hi there,
I am generating a Word document and replacing embedded images inside the document. I have come across a weird issue. I generate a document from a template and open it up from the response, it looks good. Now I leave document 1 open and generate document 2 using the same template but with different images. I open up the document 2 from the response again and it uses document 1's images, not the images that were suppose to be there.
It seems that if more than 1 generated document is opened, all documents show document 1's images. Is there a way to "disable" caching for the embedded images?
I have tried a few avenues including having unique filenames, flushing the response, setting "no-cache" on the response, and clearing the reponse after doc.Save()...but they dont seem to solve the problem. Any help would be appreciated. Thanks!
John