Forum Discussion
Feb 09, 2011
logging each cookie name failing in logs
Hello all, The below code is throwing an error in the logs: when HTTP_REQUEST { set cookies [HTTP::cookie names] foreach cookie $::cookies { log local0. "Cookie: $...
hooleylist
Feb 16, 2011Cirrostratus
Because there isn't a cookie rename function. So the cookie value is set with a new name and then the old cookie is removed.
Keep in mind, that any changes you make to the cookie in requests would only effect what the web application sees. Removing a cookie from the request wouldn't effect the client's cookies.
If you want to tell the client to remove an existing cookie from its cookie store, you'd need to set the cookie with an expire time in the past, as I showed a few posts up.
Aaron
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