Forum Discussion
Sumit_sam_14525
Nimbostratus
May 30, 2014How to set HTTPOnly in cookie when HTTP::response & make the session persist on that cookie
I need to insert secure cookie in HTTP:response and then make session persist on that cookie.
Any Ideas !!
Cory_50405
Noctilucent
May 30, 2014Within the thread I linked, Aaron posted this iRule:
when HTTP_RESPONSE {
Check if the response contains the persistence cookie
if {[HTTP::cookie BIGipServerMy_Http_Pool] ne ""}{
Set the httponly flag on the persistence cookie if it is in the response
HTTP::cookie httponly BIGipServerMy_Http_Pool enable
}
}
Some more details on HTTP cookie information and manipulation:
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