Forum Discussion
fayar_128903
Nimbostratus
Jul 09, 2013Http cookies insertion in LTM
Hello !
I am currently learning how to write iRules. In order to implement a logging script on a LTM device (BigIp V11), I would like to insert a cookie containing a number in my http request. ...
Kevin_Stewart
Employee
Jul 09, 2013Generally speaking, a response is ~usually tied to a request in a single TCP session. So you could very simply:
1. Create a unique ID variable in the request (HTTP_REQUEST)
2. Mark the time of exit to the server (HTTP_REQUEST_RELEASE)
3. Mark the time of re-entry (HTTP_RESPONSE) - unique ID variable should still be available inside the TCP session
No modifications to the server required, nor need to mess with headers or cookies.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
