Forum Discussion
Neil_66348
Nimbostratus
Dec 14, 2012Singular Cookie Insert
Hi Guys ,
A really easy one i'm sure for someone with good iRules knowledge.
We have a cookie rule which performs a simple insert for a HTTP Cookie
when HTTP_RESPONSE {
H...
What_Lies_Bene1
Cirrostratus
Dec 17, 2012I did post back earlier but it seems to have been lost. Try this (without the REQUEST event bit) - it might improve things but I'm not sure it'll remove the error entirely;
when HTTP_RESPONSE {
if { [HTTP::cookie exists "Zend"] } {
set cookiecount 1
return }
elseif { $cookiecount equals 1 } {
Do nothing
return }
else {
HTTP::cookie insert name Zend value 1
set cookiecount 1 }
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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