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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Global (&&) variables go to sleep or expire temporarily

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Global (&&) variables go to sleep or expire temporarily
 Login/Join
 
Expert
posted
We have a BI Dashboard where Global (&&) variables are important. It seems like if we leave the screen open for some period of time with no interaction on the dashboard, and then click a link to run a fex, the global variables no longer exist. But the fact that we woke something up by running that fex seems to make the variables available to subsequent requests.

Any ideas?

Thanks,


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
I wonder if it could be something to do with a session cookie expiring ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6349 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
It has been a while, but the globals are stored in a file in the temp directory of the client installation. The _TempFileTimeout is defaulted to 900 seconds. That means that the global variable file is then deleted after 900 seconds after it is created. The global file is re-created every time you run a request. However, after 15 minutes of inactivity, it would be deleted. I believe that if you change that value to the same number as the session timeout, then you might stop this.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Expert
posted Hide Post
Good One


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6349 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Gold member
posted Hide Post
I am not sure if this is related but in data migrator version 7.7 - in odin.cfg I need to add persisent global

;HTTP Listener
NODE = LST_HTTP
BEGIN
PROTOCOL = HTTP
PORT = 8117
CLASS = AGENT
SECURITY = IWA
PERSISTENT_GLOBAL = 1
END

This may also help? http://techsupport.information...om/sps/41982045.html


Webfocus 7.6.4
Windows 2003 Server, SQL Server 2005
Excel, HTML , JavaScript ,and PDF.
Reportcaster, BID, Tomcat
 
Posts: 79 | Registered: May 02, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Global (&&) variables go to sleep or expire temporarily

Copyright © 1996-2020 Information Builders