Forum Discussion
Simon_Jones_112
Nimbostratus
May 17, 2007HTTP::cookie insert and delimiters?
Hi all,
An asp.net 2 and HTTP cookie question:
Is it valid that an IRule does not delimit cookies with a semicolon: E.g.
Cookie .ASPXAUTH=57FB1B2D44B4F3AB01BFB5E858A34ED46D2898549D7D4CC7F1F19DF82923DF2BAD72705704010F9811237D46F332993FCDEF9D359A79CAA793F7ECBB4EEDFA13EE19C57966B0DE0E6D7FF0A324D176CF53365B43A02B9AE369EE346E474947BCE2FB386CB5E3960F76B8218CC3A9E9F347052AC9F1D76AD4D082C70F7D8658C7, CLIENT_IP=10.20.1.2;
The delimiter between is an issue for us. I'm writing the cookie with the following syntax.
..{
pool mypool
HTTP::header insert X-Forwarded-For [IP::remote_addr]
HTTP::cookie insert name "CLIENT_IP" value [IP::remote_addr]
}
Any ideas would be apprecieated.
Regards, Simon
- Colin_Walker_12Historic F5 AccountWhy is the delimiter an issue? If the HTTP::cookie insert command isn't formatting things the way you want, you could always manually insert the cookie with a header insert or even at the TCP level. That seems like a lot of extra work, though, unless there's some serious issue with the way the cookie insert command is working.
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