Forum Discussion
madi_56757
Nimbostratus
Mar 19, 2007HTTP::cokkie
Hello all,
a short question regarding the HTTP:cookie implementation!
I have done a lot of tests for this topic, but it's seems not to work as I understood!
So my question: I have ...
Deb_Allen_18
Mar 20, 2007Historic F5 Account
Hi Markus --
The cookie commands are case sensitive -- could it be that your cookie is actually named ABC? Try this HTTP_REQUEST event to really see what the iRule sees:
when HTTP_REQUEST {
set isset [HTTP::cookie exists abc]
log local0. "isset=$isset"
foreach cookie [HTTP::cookie names] {
log local0. "Cookie: $cookie=[HTTP::cookie $cookie]"
}
}As for the insert error, I believe you are missing the value of the cookie -- try this instead:
HTTP::cookie insert name abc value 123 HTH/deb
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