APM Logout iRule
pseudo code
when ACCESS_ACL_ALLOWED
if URI is "/index.php?module=Users&action=Logout" OR "/?cmd=logout'
then
ACCESS::SESSION remove
Redirect 302 to /my.policy
end pseudo code
Our iRules documentation can be found on https://devcentral.f5.com/wiki/iRules.APM.ashx and you can post any questions on the discussion boards there. They are usually answered pretty quickly. Alternatively, you can have an iRule written for you by our experts:
http://www.f5.com/services/professi...emand.html
As this seems to be a bug, I do not want pay for a work around using the irules on demand service.
I have tried many different variants of this, but I cannot seem to get it working.
when ACCESS_ACL_ALLOWED {
if { [HTTP::uri] equals "/?cmd=logout" } {
ACCESS::SESSION remove
HTTP::redirect "https://[HTTP::host]"
}
}
The errors I am seeing make it seem like ACCESS:SESSION does not even work with ACCESS_ACL_ALLOWED.
Could anyone offer any guidance on how to get this working?
Thank you