Forum Discussion
Jeyakumar_Nadar
Nimbostratus
Mar 13, 2006Cookie encryption/decryption using iRule
Hello,
I am trying to write a script that will encrypt/decrypt a cookie, but am having a little trouble with the syntax used in the BIG-IP. I need to check to make sure that a cookie is...
Jeyakumar_Nadar
Nimbostratus
Mar 17, 2006Thanks for the quick replies, but I am still having a few issues. I am trying to concat "enc" onto the encrypted cookie string using this code in the Response:
set encrypted [HTTP::cookie encrypt mycookie cookiekey]
set newencrypted [concat "enc" $encrypted]
and in the Request, I am not sure how to check to see if the "enc" is in the string. Any ideas on which command to use? You suggested substr before, but I could not find any documentation on how to implement it. Thanks for your help!
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