Forum Discussion
Generate a unique ID with the help of an iRule
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
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.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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