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...
richard_77048
Nimbostratus
Jun 08, 2011Well, I got my problem solved. I may go back to my original approach just because it does a little less processing but that is a project for another day.
So, it turns out that I don't know as much as I could about HTTP cookies. Or I used to not know as much as I could; I know a little more now. I am sure it is not news to some of you that the path is important. I was not setting a path and the browser ended up with a bunch of "language" cookies. Once I set a path along with a value the new approach worked just fine. Now, why it worked in development in the first place, I don't know but QA signed off on the current rule so I am not going to worry about that today.
I just wanted to put the resolution here in case it can help someone avoid the problems I had.
Richard
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
