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 !!
Sumit_sam_14525
Nimbostratus
Jun 03, 2014Tried few more following combinations, had no luck.
a)
when HTTP_RESPONSE { Check if the response contains the persistence cookie
if {[HTTP::cookie test_Cookie] ne ""}{
Set the httponly & secure flag on the persistence cookie if it is in the response
HTTP::cookie httponly test_Cookie enable
HTTP::cookie secure test_Cookie enable
}
}
b)
when HTTP_RESPONSE {
Set the httponly & secure flag on the persistence cookie if it is in the response
HTTP::cookie version test_Cookie 1
HTTP::cookie httponly test_Cookie enable
HTTP::cookie secure test_Cookie enable
}
}
Any ideas where am I heading wrong ?
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