Solved

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

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

Technology Partners: 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 article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

726 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