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 cookie doesnt download and doesn't allow to login.
Apart from JSESSIONID,MEMBERNAME,PROGRAMCODE, mycookie (LTM generated) , i can see many cookies downloading and i want to secure all cookies.
Looking for expert advice and suggestion in resolving this ASAP.
2 Replies
- Maneesh_72711
Cirrostratus
Hi Habib,
you may try the iRule below to set the
andHttpOnly
flags to every issued cookie...Securewhen 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