Forum Discussion
Paulius
Feb 11, 2023MVP
venkatraman01 I believe the following will achieve what you would like for both p1 and p2.
when HTTP_RESPONSE priority 500 {
set newdomain ".abc.com"
foreach jsessionid [HTTP::cookie names] {
set cookieDomain [HTTP::cookie domain ${jsessionid}]
if { ((${cookieDomain} contains ${newdomain}) && (([HTTP::cookie path] contains "/Buyer") or ([HTTP::cookie path] contains "/Sourcing"))) } {
HTTP::cookie domain ${jsessionid} ${newdomain}
}
}
}
- Leslie_HubertusFeb 14, 2023Ret. Employee
Hi venkatraman01 - did Paulius' reply help? If yes, please click the Accept as Solution button so future users looking for help with the same problem can easily find help in the Search. 🙂