Forum Discussion
Habib_Ulla_Khan
Nimbostratus
Jan 27, 2017cookie secure and http only -- All cookies that gets downloaded
i want to secure and http only all cookies when my application is accessed. Tried couple of irule link text and link text no luck. When i use irule similar to second thread, jsessionid cook...
Kai_Wilke
MVP
Jan 27, 2017Hi Habib,
you may try the iRule below to set the
HttpOnly and Secure flags to every issued cookie...
when HTTP_RESPONSE {
foreach cookie [HTTP::cookie names] {
HTTP::cookie secure $cookie enable
HTTP::cookie httponly $cookie enable
}
}
Cheers, Kai
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