Forum Discussion
session.custom
Should session.custom show up in the variable report? We have an iRule that does not seem to be working, but we can't tell.
3 Replies
- kunjan
Nimbostratus
In the VPE, try to add "Logging" agent and add the session variable needed to log and apply to Access Profile.
- kunjan
Nimbostratus
If it's for troubleshooting you can try sessiondump from the cmd line, if the session exists while executing it.
- Kevin_Stewart
Employee
It should absolutely show up, assuming it is being set with a value. You could also use a message box in your VPE flow to check for a specific session variable value. Example:
VPE:
start -> iRule agent -> message box -> allowiRule:
when ACCESS_POLICY_AGENT_EVENT { ACCESS::session data set session.custom.foo "bar" }Message box:
%{session.custom.foo}
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