Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
IE Refresh?
 Login/Join
 
Gold member
posted
Hi all,

If I make some changes to my report and then run it, I do not "see" the new changes unless I hit the refresh button. I checked the IE options and tried using "every visit to the page" and all other choices but nothing seems to work. Any ideas?
 
Posts: 81 | Location: Calgary, Alberta | Registered: August 07, 2003Report This Post
<Kyle>
posted
I don't believe it is possible to totally turn off caching in IE. Even if you set the option to "Every visit", it can still cache for that browser session. I assume you are developing a self service app (not MRE-based). For MRE reports, WebFOCUS automatically handles the caching issue by including a random number field in the request. This tricks the browser into thinking it is a new request. This is the easiest (and most reliable) way around the caching issue. There is an example of this on the /ibi_html/workbnch/logon.htm page. It has a hidden field called IBIMR_random that is populated (via javascript) with a random number everytime you submit the form.

Hope this helps.
 
Report This Post
Gold member
posted Hide Post
Sounds great but I am so new to this product that I don't know what MRE is.
 
Posts: 81 | Location: Calgary, Alberta | Registered: August 07, 2003Report This Post
<monte2000>
posted
MRE is the managed reporting environment. You can read more about it here.

Monica Cool
 
Report This Post
Gold member
posted Hide Post
Ah yes, MRE, I have seen that. Just have to learn the acronyms.

THX
 
Posts: 81 | Location: Calgary, Alberta | Registered: August 07, 2003Report This Post
Master
posted Hide Post
Just so you know, you don't have to use MRE to do this technique. When you run the report, just make sure the web form (the place where you click Submit to run the request) has a hidden field on it, and set the VALUE of that field to a random value using javascript - like the current time, or use the math.floor.random() function to generate a random number.

If you're the user of the app, not the developer, just share this technique with your developer. It's a common way to do it.

It's also possible to change this globally and more elegantly by changing a parameter in your CGIVARS.WFS file (found in your CGI's ETC directory on your Web server):

EXPIRE_REPORTS =300

This puts a setting in the responding HTTP header that determines the number of seconds before a WebFOCUS report expires in your local browser cache. If you set it to 1, reports expire 1 second after they're sent - so you get immediate refresh when you click, for example, the Refresh button.

Hope this helps!
 
Posts: 919 | Registered: March 26, 2003Report This Post
Gold member
posted Hide Post
Now that I like!
 
Posts: 81 | Location: Calgary, Alberta | Registered: August 07, 2003Report This Post
Member
posted Hide Post
One other thing to look for is the "Empty Temporary Internet Files folder when browser is closed" under the advanced tab => security section. If this is checked then each time the browser window is closed cacheing will be eliminated.
 
Posts: 17 | Location: SSA, Maryland | Registered: May 06, 2003Report This Post
Expert
posted Hide Post
if you put this line in your HEAD tags:
META HTTP-EQUIV="PRAGMA" CONTENT="NOCACHE"
Put carets around it..i can't put them in this message board, it won't take them.
Use this tag and your pages just wont cache.
way cool.
i have a self-serv webfocus app, with multiple HTML pages appearing on my login page and i want to make sure they are always current.
So this little trick works like a charm.

Cheers!
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Master
posted Hide Post
Susannah--
Setting EXPIRE_REPORTS actually does this under the covers... that's how it works. With the setting in place, you don't have to do any hand-coding to make sure you never get reports from the browser cache. Try it!
 
Posts: 919 | Registered: March 26, 2003Report This Post
Expert
posted Hide Post
hey bob, would the EXPIRE setting = 1 have any affect on the user's abilty to use the BACK button on his browser??
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Master
posted Hide Post
EXPIRE_REPORTS does the same thing as setting the META tag to expire - the technique you discovered.

It's just a bit easier to do as it requires no code to be written to do this - the CGI generates the page .

I would assume that doing this would mean that the page would be reloaded fresh from the server when the user tried to go back to the page using the back button - the cache would show the document as expired when Back tries to access the url.

Your mileage might vary depending on the browser you were using but the basic assumption is that the page would be reloaded.

thanks
 
Posts: 919 | Registered: March 26, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders