Forum Discussion
Julio_Navarro
Cirrostratus
Apr 27, 2016APM 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?
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