Focal Point
Cache or Temporary File?

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/6941097331

August 12, 2004, 01:42 PM
Stan
Cache or Temporary File?
I have created a report that brings back results in EXCEL or WORD based on a flat file which specifies such. Here is my problem. After I run the report once, I can change the flat file, but I still get the original version everytime I kick off the servlet...It is like the report is stuck either in cache or as a temporary file and keeps coming up without actually re-running the fex.

Is there any solution to this issue?
August 12, 2004, 02:05 PM
<WFUser>
Your problem could be that your browser is caching the URL. Go to Tools --> Internet options --> Settings and select "Every visit to page". If that doesn't work, try changing the EXPIRED_REPORTS setting in the WebFOCUS Client's cgivars.wfs file to 1.
August 12, 2004, 02:20 PM
<Pietro De Santis>
Depending on how you run the report, you may be able to add a variable containing a random number, which would defeat the browser cache, but leave the WebFOCUS server settings alone.

http://servername.ca/ibi_apps/WFServlet?IBIF_webapp=/ib...ANDOM=20040812101223
I usually use the date and time as the random value.

This message has been edited. Last edited by: <Mabel>,
August 12, 2004, 02:39 PM
Stan
Thanks Pietro and WFUser... I looked at both options and they both work, but I think adding the random number will avoid us having some issues with some existing applications (Don't want to have to rerun the reports against the system everytime someone backpages, etc.)

I added an amper RANDOM and made it a time stamp and everything works perfect...Thanks.

STan
August 12, 2004, 03:22 PM
suzy_smith
What would be the down side of changing the server timeout settings to 1?

Thanks. Suzy
August 12, 2004, 05:58 PM
susannah
or just hitting F5 ??