mbkosiba_310067
Sep 20, 2017Nimbostratus
Cookie insert troubles
I am trying to do cookie-insert persistence along with an iRule that sets the domain value for the cookie. Whenever I have all of the parts together on the virtual server (http profile, cookie persistence profile, iRule) I just get resets. I don't even get through to the site however if I strip all of these off I get to the site just fine. No combination of one or more of these settings work.
Not sure what is going on. Here is the code in the iRule I am using.
when HTTP_RESPONSE {
Check if the persistence cookie exists in the response
if {[HTTP::cookie exists "MS-WSMAN"]} {
set the domain attribute on the persistence cookie
HTTP::cookie domain "MS-WSMAN" "domain"
}
}