Forum Discussion
Joern_Oltmann
Nimbostratus
Feb 14, 2013How can I create a unique session value with a minimum on server load
Hi all,
I have created an iRule which generate a global unique cookie for Tracking my customer
I generate this session value like:
set new_session_value "[string...
spark_86682
Feb 26, 2013Historic F5 Account
The AES::key command should be pretty cheap, CPU-wise. It only accesses the random number generator, and doesn't actually use any AES code. You seem to only be needing a 50-character random string, so you could do something like:
set new_session_value "[string range [AES::key 256] end-49 end]"
which only makes one call to the RNG and only has one string processing command.
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