Forum Discussion
Jul 12, 2014
BIG-IP : iRule fails to find cookie
In Google Advanced REST Client , I send my GET request with headers : Cookie: special=1 My iRule has the following code : when HTTP_REQUEST {
set cookie_special [HTTP::cookie value "s...
Jul 12, 2014
Ok here is what I found out :
[HTTP::cookie exists "mycookie"]
is false - no cookie found. However :
when HTTP_REQUEST {
foreach x [HTTP::header names] {
"log local0. Request ($x) = [HTTP::header $x]"
}
}
does include a header for a request cookie :
Request (Cookie) = aCKE=c2735413-d64e-4778-81a5-3cd5e0cb0d37; tlrCKE=2014-07-12+23%3a26%3a04Z; ftc=x=07%2f13%2f2014+02%3a26%3a04&p1=120&p1q=404%253bhttp%253a%252f%252fwww.mydomain.com%253a2020%252fnatural-language-url-text&c=0; lsCKE=ors=identifier
So apparently Google Advanced REST Client encrypts cookies by default ?
and apparently these commands :
[HTTP::cookie exists "mycookie" ]
[HTTP::cookie value "mycookie"]
will not find encrypted cookies ?
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