Forum Discussion
Pranav_73262
Nimbostratus
Sep 30, 2013Issue with cookie persistence
when HTTP_REQUEST {
if { [string tolower [HTTP::path]] starts_with "/abcd" } {
persist cookie insert "Portal_Cookie" "0d 00:00:00"
pool Pool1
} else {
persist none
...
What_Lies_Bene1
Cirrostratus
Sep 30, 2013Yes I think it will. I think what you need to do is check for the presence of the Cookie and not insert it if it's already present or, better yet, apply the Cookie persistence via a profile, assign a default pool (2) and change your iRule to this;
when HTTP_REQUEST {
if { [string tolower [HTTP::path]] starts_with "/abcd" } {
pool Pool1 }
else {
persist none }
}
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