Forum Discussion
Rob_Stonham
Apr 27, 2021Cirrus
Dan44,
I'm not sure about generating the unique ID, I'd look at this article https://devcentral.f5.com/s/articles/random-string-generators or keep it simple and generate an id like Kai Wilke suggested in https://devcentral.f5.com/s/question/0D51T00006i7W29/how-random-is-rand
set uniqueID [TMM::cmp_unit][clock clicks]
Your code also allows a client to supply the header X-Request-ID, is this intended behaviour?
Rob
- Dan44Apr 28, 2021Altostratus
Hi Rob
Thanks for your reply, the links look interesting. I will have a look at them and test the examples.
Regarding your question. It is actually planned that only F5 LTM does the header insert and not the client.
- boneyardApr 29, 2021MVP
if that is the case you should remove the HTTP_RESPONSE part