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...
John_Alam_45640
Jun 07, 2011Historic F5 Account
Yes, changing the event makes a difference, although i am not sure which version this behavior starts with. It is in 10.x for sure.
Within an Event, command results are cached. It could be that the cookie is set, but the [HTTP::cookie] command is returning a cached value.
By changing events you flush the cached values and fetch the real results.
If the cookie is does not exist, you can try:
HTTP::cookie insert name Language value $user_selected_language
HTH
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