Forum Discussion
APM 401 Response Settings | Adding SessionID Variable
Hello!
I am trying to capture the current session ID when the "http 401 response" negotiation fails. I added a iRule and applied it to the Virtual Server the following command:
when ACCESS_SESSION_STARTED {
set sessionid [ACCESS::session data get "session.user.sessionid"]
}
In the APM HTTP 401 Response object, I added %{sessionid} in the "HTTP response message"
Unfortunately I am not getting getting a value from it.
Please advise
Thank you
J
1 Reply
- Josiah_39459Historic F5 Account
You can't access irule variables via the % comamnd in the VPE. On the other hand, it doesn't seem like you even need the irule. Can't you just get the sessionid in the VPE without it?
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