Solved

How can I open .XLS files downloaded from Internet, without saving them in Temporary Internet Files folder?

Posted on 2009-07-01
2
727 Views
Last Modified: 2013-12-08
Hi,

I've got a hyperlink which downloads an Excel file. This file is updated everyday, but due to the saving this file in Temporary Internet Files, sometimes many users have the older file loaded in Excel (the filename is not changed).

Is there any way to make Internet Explorer not load the file from Temporary Internet Files directory?

My workaround:set Internet Explorer Advanced Options to clean such directory when IE is closed. But I'm sure there's a better way to do it.

Thank you very much
0
Comment
Question by:fernandoyuki
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
alexpercsi earned 450 total points
ID: 24758510
Unfortunately, there is not. Unless users click save instead of open.

The open button always makes the browser place the file in its cache until the file is opened, then the file is deleted after its caching policy expires and the file is closed.

The only thing you can do is have the web server set a Cache-control:no-cache http header on the excel file when it serves it. That way, internet explorer will know the file is stale the next time a user gets it off your page and download the new one.

This however does not solve the problem of a user opening the file directly from their temporary internet files folder through their file system, although i'm pretty sure very few people would do that.
0
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 24758813
fernandoyuki,

The expert above is right.  I have an "out of the box" suggestion though if you really want to not have the user download the file (even as just a temporary file).  If your web server will support it and you are willing you can make a server page to show the information.  Basically the web page shows the contents so there is never an xls file download.  Now depending on the contents of the sheet and your web server this could be really hard.  However it is a possibility so I thought worth mentioning, especially if you aren't a fan of having to open the file and having it on the machine.

Let me know if you have any questions or need more information.

b0lsc0tt
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question