Forum Discussion
Demeter_Luo_168
Jun 19, 2016Nimbostratus
APM: Why can't get the session.user.sessionid in the ACCESS_ACL_ALLOWED?
Hi Friends
Why can't get the session.user.sessionid in the ACCESS_ACL_ALLOWED? Thanks
My iRules:
Codewhen ACCESS_POLICY_COMPLETED {
set hsl [HSL::open -proto UDP -pool pool_172.16.0.21_s...
Walter_Kacynski
Jun 20, 2016Cirrostratus
What is the error message that you get exactly?
Also, you should not use mysession across events like this because these variables have a per TCP flow context. If, for some reason (HTTP), the TCP connection gets recreated, mysession will no longer be in-scope because ACCESS_POLICY_COMPLETED will not fire for an existing session and ACCESS_ACL_ALLOWED will fail with a TCL runtime error because mysession is no longer present. Since this value is cached anyway, just re-run [ACCESS::session data get session.user.sessionid] in each event.
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