Forum Discussion
Jose_Santiago_O
Nimbostratus
Jan 07, 2009Pool redirection based on cookie using SSL Termination.
Hi,
Is it possible to verify if a cookie exists using SSL Termination?
I have this rule:
when HTTP_REQUEST {
if { [HTTP::cookie exists "MyCookie"] } {
pool mynewpool}
else {
pool myoldpool}
}
But It's not working, may be I am using the wrong event, when I test my page, it keeps loading forever until I disable the rule.
I have a Client SSL profile in my virtual server with no Server SSL profile, the idea is to redirect the users to a new pool of servers only if they have a cookie.
Is there a way I can do that?
Regards,
Jose Santiago Oyervides.
- Puneet_110030
Nimbostratus
Hi All, - dennypayne
Employee
Hi Jose, - Jose_Santiago_O
Nimbostratus
Hi Denny, - dennypayne
Employee
Hmm...not sure where else to start other than adding some logging to see if you're even getting into the rule:when HTTP_REQUEST { if { [HTTP::cookie exists "MyCookie"] } { log local0. "Found cookie" pool mynewpool } else { log local0. "No cookie" pool myoldpool } }
- Jose_Santiago_O
Nimbostratus
Hi Penny,
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