Forum Discussion
Dan_Henderson_1
Nimbostratus
Feb 25, 2005secure cookies with cookie persistence?
Hi
Is there a way to enable secure cookies for cookie persistence on the bigip v904?
Thanks
Dan
bl0ndie_127134
Feb 25, 2005Historic F5 Account
We have also provided a way to do an inplace AES encryption/decryption of the cookies. Here is an example.
when HTTP_REQUEST {
if {[HTTP::cookie exists "cookieName"]} {
HTTP::cookie decrpt "cookieName" "passphrase"
}
}
when HTTP_RESPONSE {
if {[HTTP::cookie exists "cookieName"]} {
HTTP::cookie encrypt "cookieName" "passphrase"
}
}
Where the "passphrase" is a password based key. The encryption will effectively encrypt and base64 encode the cookie value for 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
