Forum Discussion
cookie insertion
when HTTP_REQUEST {
set uagent [string tolower [HTTP::header User-Agent]]
switch -glob [HTTP::host] {
www.testdom.com {
if { [HTTP::uri] starts_with "/test" } {
HTTP::cookie insert name "ClassicView" value "mobile" path /
} else {
log local0. "no cookie set"
}
}
unset uagent
}
But the cookie is not set ???
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
