Forum Discussion
Brad_Parker_139
Nacreous
Try using this iRule. It will not try to set secure or httponly if it is already set. What you are doing to manually changing the cookie payload without inspecting what is already there.
when HTTP_RESPONSE {
foreach mycookie [HTTP::cookie names] {
HTTP::cookie secure $mycookie enable
HTTP::cookie httponly $mycookie enable
}
}
MSK_222682
Feb 01, 2016Nimbostratus
Hi Brad,
Thanks for the quick response. I shall update my iRule with above one and test again with the user.
Also, do you think the presence of JSESSIONID in the server response cookie is causing the problem here ??
I'm of the impression that if server uses JESSIONID for maintaining persistence then we need a explicit iRule to support JESSIONID persistence and override the default persistence mechanism configured at pool level. Do let me know if my understanding is correct ? If so, I may have to create another iRule for this virtual server.
Thanks,
Sai