Programmatically logout user from IBM Webseal without using redirection

1.2k Views Asked by At

We need to logout the user on the event that they close the browser. The following URL shows how to do this using redirection:

http://www-01.ibm.com/support/docview.wss?uid=swg21228490

Since the browser is already closed, we need an equivalent that we can call without using redirection. We need to do this using server-side code.

1

There are 1 best solutions below

3
On

If your app can keep track of the user sessions IDs, you can call: server task your_instance_on-webseald-host terminate session session_id within the pdadmin utility.

More details here.


Another solution: attach JS on the page to the window.close event and trigger an AJAX get of pkmslogout.