1
Answer

How to refresh a document of the server?

goraperas

goraperas

19y
2.5k
1
How to refresh a document of the server? Hi, I have a Microsoft Word document on my server, which is modified by making certain actions in my ASP.NET web application, and I would like to show this document when the user clicks on a button. The problem is that the user always gets the initial version of the Word document, without any changes. If I close the application and open again the document I can see that it has been modified. Is there any way to refresh the document, so that the user doesn't have to close the application to see the changes? Thanks, goraperas P.D. I use javascript to open the document on a certain frame of my web page: string args = "top.frames['right'].location='url_of_my_document';"; Response.Write("");
Answers (1)
0
goraperas

goraperas

NA 56 0 19y
Hi, My problem is solved if the user selects on the Internet Explorer (similar in FireFox and Opera): Tools --> Internet Options --> General --> Settings --> Select Every Visits to Page or Tools --> Internet Options --> Delete Internet Temporal Files But Is there any way of cleaning up the cache by an C# sentece?? I tried to use Response.Cache.SetExpires(), but I didn't know what to pass as the arguments and it didn't worl fine. Thanks, goraperas