Forum Discussion
Tham_T__330907
Nov 13, 2017Nimbostratus
F5 APM Limit max user per session
Currently, F5 running on APM with SSL VPN function.
How is it possible if I want to set the max session per user to "1".
The Access Profile setting allow me only ...
for example scenario of F5
U...
Stanislas_Piro2
Nov 14, 2017Cumulonimbus
you can try this irule (not tested)
when ACCESS_POLICY_COMPLETED {
set max_concurrent_sessions [PROFILE::access max_concurrent_sessions]
set apm_uuid "[PROFILE::access name].[ACCESS::session data get session.logon.last.username]"
if {$max_concurrent_sessions > 0 && [set apm_cookie_list [ ACCESS::uuid getsid $apm_uuid ]] >= $max_concurrent_sessions} {
ACCESS::respond 302 noserver Location "/vdesk/hangup.php3"
}
}
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