I am developing a website that allows a user to select a set of criterion
on a form page, then the action page will run a query based on the
selection and create a file(*.csv)which can be downloaded. Since a user
will likely run more than one query in a browsing session, I need to force
the browser (Netscape especially)to fetch the file from server everytime
the action page is visited. I tried different ways to use "location.reload
(true)" but none worked. Here is some examples of my codes,
<a href="myfile.csv" onClick="window.location.reload(true)">Download the
file</a>
or
<body onLoad="window.location.reload(true)">
<a href="myfile.csv">Download the file</a>
Any help is greatly appreciated!
Tonia