Forum Discussion
Arthur_Chapin_1
Oct 13, 2005Nimbostratus
iRule to rewrite cookie domain
Can an irule be used to rewrite a cookies domain by intercepting the HTTP response, I am super new to iRules but I assume it would look something like this, im just not sure how the syntax should be ...
DJDX21_252164
Mar 18, 2016Cirrus
when HTTP_RESPONSE {
set newdomain "abc.com"
foreach mycookie [HTTP::cookie names] {
HTTP::cookie domain $mycookie $newdomain
}
}
- Peter_BaumannMar 18, 2016CirrostratusVery cool! Thanks for sharing!
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