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
try this:
when HTTP_REQUEST {
if { not ( [HTTP::cookie language] equals $user_selected_language ) } {
HTTP::cookie value language $user_selected_language
HTTP::cookie value update_language 1
}
}
when HTTP_REQUEST priority 500 {
log local0. "Language: [HTTP::cookie language] - [HTTP::cookie language_update]"
}
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