Solved

html2excel, caching problem

Posted on 2001-07-18
3
372 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Legitimate Intranet Website Blocked MCaffe VSE 8.x and IE 3 67
Script 12 133
IIS Site Configuration Copy 2 70
Public IP Address Amazon Servers 2 41
A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

930 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

10 Experts available now in Live!

Get 1:1 Help Now