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. ...
fayar_128903
Nimbostratus
Jul 09, 2013Thank you for your quick answer ! :)
If I understand you correctly, you want to set a cookie in the ingress flow to the server for each request, containing some random unique identifier, and then strip it off of the response before sending data to the client so that the client is never involved in the cookie process.
Exactly, this was what I wanted to do in the first place.
The first thing I'd ask, just out of curiosity, is why? What does this do to/for the web server - considering that the cookie value is NOT user-specific.
Actually, I want to be able to log the following for each http packet:
1) The time spent by the packet inside LTM.
2) The time spent on the server-side (wich will include the duration of the request's processing time by the server)
In addition, I don't want this solution to be specific to my current application. In other words, I want to achieve this objective without modifying my application.
Considering that, I don't think the header based solution is a good choice for me, because as you say, I will have to modify my application in this case.
However, you made me understand why cookies wouldn't work in this case... thank you. ^^
Do you know something else I could try in order to solve my problem ?
Thank you !
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
