Forum Discussion
Shyam_Shukla
Nimbostratus
Nov 16, 2019Retrieve all active session for an user from iRule code
Hello All, Is there any way to retrieve all active session for an user from iRule code. For e.g., an user has logged in from two different browser then F5 would have two different session ids. ...
Faruk_AYDIN
Altostratus
Nov 16, 2019have a look this link:
hen HTTP_REQUEST {
set apm_cookie_list [ ACCESS::uuid getsid "[PROFILE::access name].[HTTP::username]" ]
log local0. "[PROFILE::access name].[HTTP::username] => session number [llength $apm_cookie_list]"
for {set i 0} {$i < [llength $apm_cookie_list]} {incr i} {
log local0. "MRHSession => [ lindex $apm_cookie_list $i]"
}
}
Jan 24 19<!--:36:03 local/tmm info tmm[23333]: Rule _test <HTTP_REQUEST>: simpleAD_withSSO.domain\lie => session number 1-->
Jan 24 19<!--:36:03 local/tmm info tmm[23333]: Rule _sys_APM_activesync <HTTP_REQUEST>: MRHSession => 51539106083c66c3926e3305d60addae-->
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
