Daniel_Tremmel
Jun 04, 2014Altostratus
APM iRule Event: insert Cookie after Logon Page
Hi all,
following situation: when a user wants to access an application server, the user has to authenticate via Active Directory. Then a cookie with the username and a random number will be added to the request and after that, the requests gets to the application server in the backend.
Logon Page via APM is working, also the ACCESS_POLICY_AGENT_EVENT, the question is how can I insert a cookie after the iRule Event in the APM Policy is triggered? "HTTP::cookie insert" is only working with HTTP_REQUEST and HTTP_RESPONSE, but if I do a
when HTTP_REQUEST { HTTP::cookie insert name "MyCookie" value "MyValue" path "/" }
the cookie gets inserted right with loading the Logon Page, and thats too early because at this point I don't have all the information for the cookie.
best regards, Daniel