Focal Point
Global (&&) variables go to sleep or expire temporarily

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

November 22, 2011, 02:49 PM
Francis Mariani
Global (&&) variables go to sleep or expire temporarily
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
November 22, 2011, 03:41 PM
Waz
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!

November 22, 2011, 04:00 PM
dhagen
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
November 22, 2011, 04:09 PM
Waz
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!

November 22, 2011, 04:12 PM
jammer
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