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 02, 2014I added following irule for enabling secure flag, but it ended up blocking access to website & I get page cannot be displayed !
when HTTP_RESPONSE { Check if the response contains the test cookie
if {[HTTP::cookie test_Cookie]}{
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
}
}
Any Ideas what could've caused this ?
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