Forum Discussion
hc_andy_35682
Nimbostratus
Feb 01, 2012Handling Persistence for HTTPS connections in a two tier security model??
Hi All,
I'm trying to determine the best way to handy persistence for HTTPS connections based on our security mode below.
We have a security model where we have a F5 in the Public ...
hoolio
Cirrostratus
Feb 02, 2012Hi Andy,
You could use standard cookie insert persistence on the internal LTM and then use an iRule on the external LTM which piggybacks on that persistence cookie. You should just need to update the cookie name in this iRule. Make sure to use a OneConnect profile on both the external and internal LTM virtuals to ensure each request is persisted as expected.
when HTTP_REQUEST {
Persist based on the internal LTM persistence cookie value
if {[HTTP::cookie my_persist_cookie] ne ""}{
persist uie [HTTP::cookie my_persist_cookie] 3600
}
}
when HTTP_RESPONSE {
If the internal LTM persistence cookie is set in the response
add a persistence record for this LTM
if {[HTTP::cookie my_persist_cookie] ne ""}{
persist add uie [HTTP::cookie my_persist_cookie] 3600
}
}
Aaron
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