Forum Discussion
AngryCat_52750
Nimbostratus
Jan 30, 2014end APM session on browser close
Is there a way to end a APM session when the user closes a browser window?? i understand this is a client side event but can the APM do anything? We have a APM policy with a login page and once a use...
ipman_1988_5418
Nimbostratus
Apr 07, 2015This seems to be working
when ACCESS_ACL_ALLOWED {
if {[string tolower [HTTP::uri]] eq "/citrix//authentication/logoff"} {
table add "ctxloggedoutsessions_[ACCESS::session sid]" 1 28800 28800
}
}
when HTTP_REQUEST {
set sessionstatus [table lookup "ctxloggedoutsessions_[ACCESS::session sid]"]
if { $sessionstatus == 1 } {
table delete "ctxloggedoutsessions_[ACCESS::session sid]"
HTTP::respond 302 Location "https://www.yourcitrixapm.com/my.logout.php3"
unset sessionstatus
event disable
}
}
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