Solved

html2excel, caching problem

Posted on 2001-07-18
3
386 Views
Last Modified: 2013-12-24
I got the html2excel custom tag at
www.coldfusionnet.com/tag_gallery.cfm

It works well on first use, but after that the resulting .xls file is cached.  Unless you close your browser and re-open, you will never get a fresh list.

The server's file will continue to be dynamic, but the client's cache will only request a new file after the temp has been removed (after closing the window).

Is there any way to fix these so I don't have to close and re-open the browser?

P.S.
The answer has nothing to do with the cfheader tag or
Cachedwithin="#createTimeSpan("0","0","5","0")#" in the query, already tried.
0
Comment
Question by:Thannytoes
[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
3 Comments
 
LVL 4

Accepted Solution

by:
CF_Spike earned 100 total points
ID: 6295231
The obvious way to do this would be to have the name of the excel sheet changing for each request. This might require a little bit of clever code to manage the number of files on the server, but it should stop the browser from caching the data.

Spike
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 10659480
No comment has been added lately, so it's time to clean up this question.
I will leave the following recommendation in the Cleanup topic area:

Accept CF_Spike's comment as the answer

Please leave any comments here within the next four days.

mrichmon
EE Cleanup Volunteer
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Suggested Courses

740 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