?
Solved

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

Posted on 2009-07-01
2
Medium Priority
?
733 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 1350 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

770 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