Forum Discussion
stanjavoor
Oct 25, 2019Nimbostratus
In our APM configuration, /login/signout is configured for logout URI. When APM intercepts that call, it clears out the APM cookies form the configuration.
Is there any way I can issue that in above iRule such that APM intercepts and clears session locally and the 302 will redirect the user back to our landing page for login.
- Dave_WOct 25, 2019Employee
Hello, I think you are looking for something like this:
when ACCESS_ACL_ALLOWED {
if { [HTTP::uri] equals "/?cmd=logout" } {
ACCESS::session remove
HTTP::redirect "https://[HTTP::host]"
}
}
https://devcentral.f5.com/s/question/0D51T00006i7P3M/apm-logout-irule