Forum Discussion
Tabish_Mirza_12
Nimbostratus
Jan 27, 2014Cookie Persistence “Secure” and “HTTP Only”
Hi Folks,
We are looking to configure “Secure” and “HTTP Only” cookie persistence. We need to know how to configure it & apply with Virtual Server. We configured Cookie persistence with HTTP Coo...
Kevin_Stewart
Employee
Jan 27, 2014At a minimum you could do something like this:
when HTTP_RESPONSE {
foreach x [HTTP::cookie names] {
if { $x starts_with "BIGipServer" } {
HTTP::cookie remove $x
HTTP::cookie insert name $x value [HTTP::cookie $x] path "/" version 1
HTTP::cookie secure $x enable
HTTP::cookie httponly $x 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