Forum Discussion
Terje_Gravvold
Mar 29, 2012Nimbostratus
HTTP::cookie - How can I handle cookies with duplicate names but diffrent domain value?
I'm trying to set HttpOnly value for a given cookie name/domain combination (BigIP v9.4). The backend servers (OpenSSO) creates a authentication cookie that does not have this value set.
My ...
hooleylist
Apr 02, 2012Cirrostratus
Nice idea Sashi. You would want to handle the possibility multiple Set-Cookie response headers with something like:
when HTTP_RESPONSE {
set set_cookies [string map [list path "HttpOnly; path"] [HTTP::header values Set-Cookie]]
HTTP::header remove Set-Cookies
HTTP::header insert Set-Cookies $set_cookies
}
Aaron
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