Forum Discussion
Jon_Gilyeat_149
Nimbostratus
Jul 24, 2014HTTP::cookie and setting flags
I'm struggling with writing some irule logic which sets the httponly and secure flags on only the bigipserver cookies inserted by the F5 when using cookie session persistence, while not affecting any...
Jon_Gilyeat_149
Nimbostratus
Jul 24, 2014Tried this and it doesn't really work either:
when HTTP_RESPONSE {
if { [HTTP::cookie starts_with "BIGipServer"] } {
set ck_names [HTTP::cookie names]
foreach aCookie $ck_names {
HTTP::cookie remove $aCookie
HTTP::cookie insert name $aCookie value $aCookie path / version 1
HTTP::cookie httponly $aCookie enable
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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