Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: How to logout from all active Liferay user sessions of all portal users
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
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.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™