Forum Discussion
coriolis_75734
Nimbostratus
Mar 09, 2015Kill all sessions for a user via API
We are using LTM/APM 11.5.1 and would like to be able to get all the session ids for a particular user and kill them (or at least dead-end their traffic).
I know we can do this via the GUI but am loo...
kunjan
Nimbostratus
Mar 09, 2015How about eliminate this issue, by restricting the users to limited sessions using "Max Sessions Per User"?
On cli
sessiondump -allkeys can be used to filter the session id belong to a particular user and pipe to delete it. But that is resource intensive.
An extreme option is to delete all sessions something like:
sessiondump -list | awk '{ print $1}' | xargs -L 1 sessiondump -delete'Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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