Steve_Lyons
Jul 19, 2018Ret. Employee
Anyone willing to share their favorite logout iRule?
I have something basic to tell the user to close the browser though I was curious to see what the community has. My particular use case is simply a portal access resource that auto logs in even after selecting log out because of middle ware that caches credentials. With that, I don't want to limit your responses to just my use case. Thanks!
when HTTP_REQUEST {
log local0. "[HTTP::uri]"
switch -glob [HTTP::uri] {
"*/tmui/logout.html" {
HTTP::respond 200 content "Logged Out. Close Browser."
}
default {
}
}
}