Forum Discussion
Robert_47833
Aug 17, 2011Altostratus
HTTP::cookie insert name 1cookie value 2 path "/" domain $domain
Hi,dear irule
when HTTP::request
{set domain [domain [HTTP::host] 2]}
when HTTP::response
{
HTTP::cookie insert name 1_cookie value "2" path "/" domain $domain
}
with this irule,we suppose hostname is www.srwd18.com
I send request to VIP
and the situation is:
first :broswer received cookie 1_cookie from bigip and domain is "www.srwd18.com"(why isn't is srwd18.com)
second:I continue to open page in broswer,it send this 1_cookie to vip now with domain ".srwd18.com"
why?
I am confused
I check this via http fox on firefox
- hoolioCirrostratusHi Jucao,
- Robert_47833AltostratusHi,thanks,Aaron
- Kevin_Davies_40NacreousJust some basic checks, clear browser cookies between tests or it will re-present a cookie from before. In the incoming response from the F5 is it presenting one 1_cookie or two. If you have a persistence profile assigned to the VIP you may be doubling up on cookies.
Kevin (Jarvil)
- Robert_47833AltostratusHi,Kevin
- hoolioCirrostratusCan you try testing with curl on LTM to see if the cookie is being set correctly? You can use something like this:
- Robert_47833AltostratusHi,Aaron
- Robert_47833AltostratusI want to know whether it affect the cookie which is sent,if both of them are" .srwd18.com",it is ok
- Robert_47833AltostratusOK,the problem is when you check cookie tab on http fox of Firefox,you will see www.srwd18.com,but in the“header” tab,it is still "srwd18.com " or ".srwd18.com"
- Robert_47833AltostratusHi,anybody here?
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