For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Julio_Navarro's avatar
Julio_Navarro
Icon for Cirrostratus rankCirrostratus
Apr 27, 2016

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_39459's avatar
    Josiah_39459
    Historic 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?