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 25, 2011Cirrostratus
should I see the cookies on the client machine or ONLY the cookies that the server/web app is sending to the client machine?
You'll only see the cookies that the web app has set in that response. If you want to know which cookies the client has, you'd need to look for them in HTTP_REQUEST.
Adds a cookie to the HTTP Cookie header in requests or Set-Cookie response header. The default value for the version is 0. If the cookie already exists, a second cookie will be inserted (tested in 9.2.4).
Yes, HTTP::cookie insert.... will insert a cookie in the request sent to the pool member if called in HTTP_REQUEST or in the response sent to the client if called in HTTP_RESPONSE.
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