I'm looking for a way to pass the &IBIC_user cookie value to a maintain application as an input parameter. Using self serve WF applications as a starting point.
WF 7.1.4
K Mann WF 7.1.4 Win
September 14, 2006, 03:14 PM
Maintain Wizard
Kim From inside a Maintain procedure, all you need to do to get the IBIC_user value is:
Which works. When I exit the maintain using a button click event:
Case OnButtonExit_Click self.WinClose(); self.WinExit(); EndCase
I get a WF error mesasge when I try to go back to the maintain app: (FOC03847) RESUME: Application previously closed (no context).
Is there a configuration issue on our reporting server or am I missing something in launching and exiting the maintain app?
Thanks.
K Mann WF 7.1.4 Win
September 15, 2006, 11:11 AM
Maintain Wizard
This is due to a caching issue that can be fixed in two ways. The first is to add a time stamp to the HTML code: var today = new Date(); and then add: + today.getTime(); to the end of your HTML.
Another way is to set “EXPIRE_REPORTS=1” in CGIVARS.WFS.
Mark Derwin
September 15, 2006, 03:00 PM
K Mann
Mark,
Thanks, that solved a part of my problem. I'm back at the launch page, start the maintain app again, maintain window opens at the last session. Have to refresh the page using browser refresh to get the maintain app to load with fresh data. I've closed and re-opened the browser, same effect. Is this a WF Server/Client issue where it is not releasing the maintain session?
Using IE 6.0 WF on win 2000
K Mann WF 7.1.4 Win
September 18, 2006, 09:04 AM
Maintain Wizard
How are you exiting the Maintain application? Do you have an Exit button with either Self.WinExit() or Goto Exit, or are you just click on the X? It is always good to exit out of a Maintain application. Running the Maintain application with the Time Stamp should stop all caching. Make sure you are seeing the time stamp in the URL.
Mark
September 18, 2006, 10:34 AM
K Mann
Using an exit button with "self.WinExit();" on the button click event. I'm not sure what you mean by running the maintain app with the time stamp?
In order to get around caching issues when we perform the Maintain procedure, we include a timestamp or random number. This ensures that the page is always displayed refreshed. Instead of using a URL, use the following code to launch the application: