Forum Discussion
lipos_54863
Nimbostratus
Aug 05, 2009persisting on a cookie
Hi,
I'm wondering is there a way to create a persistence based on a cookie when checking only first three letters of the cookie name?
Here's my example:
when HTTP_RESPONSE { ...
hoolio
Cirrostratus
Aug 05, 2009Sorry, for the cookie name, you could loop through the cookies by name:
foreach a_cookie [HTTP::cookie names] {
if {$a_cookie starts_with "1234"}{
Found a cookie that starts with 1234, so do something
}
}
Aaron
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