Forum Discussion
richard_77048
Nimbostratus
Jun 06, 2011cookie not getting set using HTTP::cookie
Greetings, I have a rule that is setting a cookie in an HTTP_REQUEST event before handing the request to the server. This is working on my development unit but the cookie fails to set on my...
hoolio
Cirrostratus
Jun 09, 2011The iRule you posted was using HTTP_REQUEST. So you were inserting cookies in the requests proxied to the pool members--not the response. Paths, domains and other cookie attributes are only included when the cookie is set in replies back to the client. These properties dictate how and when the server would like the client to send the cookies.
I guess we should have clarified what the overall goal was before worrying too much about symptoms :) Thanks for posting the solution though. It is useful for future reference.
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
