ie, asp, excel caching???

A

alex

Hello,
My problem is as follows...I wrote an ASP application that
pulls data from SQL based on the query the user specified.
I am using the response.contenttype="applicaiton/x-
msexcel" to display the data in Excel via IE. But it seems
the content is cached that is the displayed data is
independent of the query specified, unless i close down
the browser.

It seems to be a client-side issue as not all clients are
having this problem. Any help would be appreciated.

TIA,
Alex
 
T

TomB

I generally stick an unimportant parameter, randomly generated, on the end
of the URL.
<a href="OpenExcelFile.asp?FileID=7&randomNumber=<%=lngRand%>">Open</a>

where lngRand is a Random number, thus making the browser consider it a new
file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

ASP Export to Excel 3
ASP & Excel 0
Stop caching 6
ASP/XML stream to Excel 0
ASP html to Excel 2003 0
ServerVariable Caching 1
ASP to Excel 1
ASP 2.0 Menu control on IE 2

Members online

Forum statistics

Threads
474,083
Messages
2,570,589
Members
47,211
Latest member
JaydenBail

Latest Threads

Top