Forum Discussion
F5 APM Session Cookies Doesn't Clear after User Inactivity
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.
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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
