RE: How to logout from all active Liferay user sessions of all portal users

thumbnail
Jamie Sammons, modified 4 Years ago. Regular Member Posts: 153 Join Date: 11/25/08 Recent Posts

Hello Friends ,

I have a requirement where on a click of a button we should Invalidate (Logout) sessions of all the currently Active users from the Portal (Note :This is not just for current but all the users). I was unable to get any API where I can Invalidate (Logout) other users session from current user . Any pointers on this ?

Thanks in Advance

Manish

thumbnail
Olaf Kock, modified 4 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

I'd look after all usages of the live.users.enabled property (and set it to true). There you should see active sessions being tracked and how to access them.

They'll be visible under Control Panel / Users / Monitoring.

If I'm not mistaken, this is for one cluster-instance only, in case you're running a multiple-machine cluster.