[CLOSED]Unable to close browser tab in chrome and Firefox
I have to login to WebFOCUS Reporting Portal from a different front end screen through Single Sign On (SSO). After getting into the Reporting Portal, When the user logs off, I have to redirect to a different URL and then close that browser tab. I used window.close() in the JS file but it closes only IE browser. It doesn't work in Chrome and Firefox.
I have tried many options like: var url = 'www.mysite.com'; window.open(url); window.close();
September 19, 2016, 08:53 AM
In the client admin console, have your tried setting the IBI_Signout_Redirect_URL parameter under Configuration/Application Setting/Security?
We are an IE shop but we have this set to our Infonet Home Page.
In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
September 19, 2016, 10:30 AM
IBI_Signout_Redirect_URL parameter has been set by the Admin Team to the correct URL. On Logoff, it redirects to the URL that is been set up in the IBI_Signout_Redirect_URL parameter which happens as expected. THe problem is in closing the browser tab after redirecting. The JS window.close(); doesn't seem to work in Chrome and Firefox.
September 19, 2016, 10:41 AM
Once you've redirected to your signout page, WebFOCUS is no longer involved. This is purely a html/js process at this point. My suggestion is to talk to the people that created the logout page and have them add the necessary JS to close the page.
Eric Woerle 8.1.05M Gen 913- Reporting Server Unix 8.1.05 Client Unix Oracle 220.127.116.11
September 19, 2016, 11:13 PM
This works in Chrome:
WebFOCUS 7.7.03 & 8.0.7 Windows HTML, Excel, PDF, etc. Also, using Maintain, etc.