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.
We have migrated a customer from WF537 to WF768. The migration was particularly smooth considering the leap forward. Some legacy coding had to be altered (CGI calls to WFServlet calls etc.).
In their SS apps, the users have a "WebFOCUS Logoff" option, this used to call WF_SIGNOFF via CGI. The resulting htm page was customized and confirmed that the user has successfully logged off from WebFOCUS.
With the upgrade they no longer use CGI, instead WFServlet is used. However the dynamic XML result page when logging a user off from WebFOCUS by calling WF_SIGNOFF does not seem to be customizable... To date I have not been able to customize this behaviour and divisions position is that the XML result is the expected behaviour... ditto... The customer still wants a custom logoff confirmation page... There are a couple of cases logged, mostly with a vague suggestion of modifying the applaunchFunc.js file, which is by the way not supported ;-) Anyone with suggestions out in the field will be appreciated.This message has been edited. Last edited by: Clinton Side-Kick,
-------------------------------------------------------------------------------- prod: WF/AS 8.2.05; OmniGen; In FOCUS since 1991
Posts: 104 | Location: United Kingdom | Registered: February 07, 2008
<html>
<head>
<title>WebFOCUS Signoff</title>
<script type="text/javascript">
/*
Copied from http://www.quirksmode.org/js/cookies.html
Tried many different scripts found on the web, this is the only one that works
*/
function createCookie(name,value,days) {
if (days) {
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
document.cookie = name+"="+value+expires+"; path=/";
}
function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}
function eraseCookie(name) {
createCookie(name,"",-1);
}
function WFSignoff()
{
eraseCookie('IBIC_user');
eraseCookie('IBIWF_language');
eraseCookie('WF_SESSIONID');
eraseCookie('WF_COOKIE');
eraseCookie('WF_USER');
eraseCookie('WF_VIEWER');
//alert(readCookie('IBIC_user'));
//alert(readCookie('IBIWF_language'));
//alert(readCookie('WF_SESSIONID'));
//alert(readCookie('WF_COOKIE'));
//alert(readCookie('WF_USER'));
//alert(readCookie('WF_VIEWER'));
}
</script>
</head>
<body onLoad="WFSignoff();">
You have logged out of WebFOCUS.
<a href="/approot/baseapp/ss_login.html">Login</a>
</body>
</html>
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
Francis, Thank you, you have contributed a huge amount by supplying this example page. Merci vielmal! Kind regards PS:"Whoever indicates that a thread is solved, this one is "
-------------------------------------------------------------------------------- prod: WF/AS 8.2.05; OmniGen; In FOCUS since 1991
Posts: 104 | Location: United Kingdom | Registered: February 07, 2008