Solved

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

Posted on 2009-07-01
2
697 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
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

707 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now