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 09, 2011Cirrostratus
If you want the client to remove the cookie, you'd need to set the cookie in a response with the expire date in the past:
when HTTP_RESPONSE {
HTTP::cookie insert name "my_cookie_name" value "nada" path "/"
HTTP::cookie expires "my_cookie_name" 0 absolute
}
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