Forum Discussion
paulooliveira
Altostratus
Sep 30, 2024APM - Close Browser
Hello, I have APM configured and working correctly for SSO with PEOPLESOFT. But due to a request from the CISO, I need the browser to be closed every time the user logs out. Is it possible to do t...
- Oct 01, 2024
It would be nice, but browsers don't allow javascript to do that unless the same javascript opened the page in the first place.
See this discussion:
https://stackoverflow.com/questions/42349487/how-to-close-active-tab-with-javascript
The ordinary workaround is to 302 redirect or .location() them to a page that:
1- Clears (resets to an invalid value or sets it to expire, usually do both) their cookies and/or any session storage.
2- Shows them a "you are safely logged out, please close your browser now" message.
paulooliveira
Altostratus
Oct 01, 2024Hi Lucas,
Thank you very much!!!!
Regards
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects