Forum Discussion
Andrea_Knapp_28
Nimbostratus
Mar 12, 2008Session intermixing issue - due to Cookie not being sent every call?
we are currently having issues with our v9.3 implementation when we go into production we have session intermixing issues with users who are behind a proxy. Tech Support has stated that there is a di...
hoolio
Cirrostratus
Mar 12, 2008Actually, it would make more sense to explicitly unset the value for the request cookie if it's not present, so you don't get a stale value. Can you try this version instead?
Aaron
when HTTP_REQUEST {
Determine the persistence cookie name.
This assumes it hasn't been customized in the persistence profile.
If it has been customized, just hardcode the name here instead.
set persist_cookie_name BIGipServer[LB::server pool]
Save persistence cookie value if it exists in the request
if {[HTTP::cookie exists $persist_cookie_name]} {
If the persistence cookie is present in the request, save the value
set old_cookie_value [HTTP::cookie value BIGipServer$pool_name]
} else {
If the cookie wasn't present in this HTTP request, unset the variable so it's not available for subsequent requests on the same TCP connection.
unset old_cookie_value
}
}
when HTTP_RESPONSE {
If the response doesn't already have a persistence cookie and the request did, insert the value from the request
if {not ([HTTP::cookie exists $persist_cookie_name]) and [info exists old_cookie_value]}{
HTTP::cookie insert name $persist_cookie_name value $old_cookie_value
}
}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